]> rtime.felk.cvut.cz Git - frescor/demo.git/blobdiff - build/Makefile.omk
Fix compile errors in non-frsh build
[frescor/demo.git] / build / Makefile.omk
index 2f932d57f8baa39a08c1ed8edbb720a08d7fe232..c124e31160042e3aa9c4381c8bbe2719838aa574 100644 (file)
@@ -1 +1,14 @@
-SUBDIRS=$(sort $(ALL_OMK_SUBDIRS) ffmpeg)
+SUBDIRS=$(sort $(ALL_OMK_SUBDIRS) ffmpeg $(wildcard wvtest/c))
+
+test: run_diff
+
+.PHONY: test run_diff
+
+test_direct.mp4: RECFLAGS=-direct
+test_%.mp4: _compiled/bin/recorder
+       ./_compiled/bin/recorder -i snapshot%02d.png -y $(RECFLAGS) $@ 2>&1 | tee $@.log
+%.hex: %.mp4
+       hexdump -C $< > $@
+run_diff: test_normal.hex test_direct.hex
+       kdiff3 $^
+