msxbuild/test/0module.mk

24 lines
720 B
Makefile
Raw Normal View History

2021-07-06 02:28:45 +00:00
BUILD_HELP += \\n\\t* assert-all \(Run all asertion tests\)\\n\\t* assert-all-video \(Merges all video's to one\)
2021-07-06 02:28:45 +00:00
BUILD_TEST := \
test-ahello-m80-assert \
test-ahello-sdcc-assert \
test-dist-qa-dos1-assert \
test-dist-qa-dos2-assert \
test-dist-qa-msx1-assert
2021-07-06 02:28:45 +00:00
.PHONY: assert-all
assert-all: | $(BUILD_TEST)
2021-07-06 02:28:45 +00:00
@echo All assertions completed.
bin/test/video-merge.lst: | assert-all
@echo === Create video merge listing
ls -1 bin/test/*-omsx/videos/msxbuild-*.avi | awk -F "bin/test/" -v s="file '" -v e="'" '{print s$$2e}' > $@
bin/test/video-session.avi: bin/test/video-merge.lst
ffmpeg -f concat -i $< -c copy $@
.PHONY: assert-all-video
assert-all-video: bin/test/video-session.avi
@echo Video merge completed.