Moved video concat to function.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -9s

This commit is contained in:
Willem Cazander 2024-06-30 04:34:07 +02:00
parent 97655c2f1c
commit f6cb4a1f9b
3 changed files with 11 additions and 9 deletions

View file

@ -1,5 +1,5 @@
BUILD_HELP += \\n\\t* assert-all \(Run all assertion tests\)\\n\\t* assert-all-video \(Merges all videos\)
BUILD_HELP += \\n\\t* assert-all \(Run all assertion tests\)
ASSERT_ALL_DEPS := \
bin/ahello-m80-test/@assert \
bin/ahello-sdcc-test/@assert \
@ -11,10 +11,4 @@ bin/dist-qa-msxhub/@assert
.PHONY: assert-all
assert-all: | $(ASSERT_ALL_DEPS)
@echo === All assertions completed
.PHONY: assert-all-video
assert-all-video: | assert-all
@echo === Build session video listing
ls -1tr bin/*-omsx/videos/msxbuild-*.avi | awk -F "bin/" -v s="file '" -v e="'" '{print s$$2e}' > bin/video-merge.lst
ffmpeg -v quiet -y -f concat -i bin/video-merge.lst -c copy bin/video-session.avi
@echo === Concatted video completed
$(if $(filter on,$(MB_FLIGHT_VIDEO)),$(call mb_create_flight_video,$(PATH_BIN)))