]> rtime.felk.cvut.cz Git - frescor/demo.git/blobdiff - build/Makefile.omk
Add wvtest from frsh-forb repository
[frescor/demo.git] / build / Makefile.omk
index c459c78c9682e53a3e921180deb7bbf864d08a6b..8a57bc302f93d0f90576239126bc6aa57f437e3c 100644 (file)
@@ -1 +1,14 @@
-SUBDIRS=$(ALL_OMK_SUBDIRS)
+SUBDIRS=$(sort $(ALL_OMK_SUBDIRS) ffmpeg 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 $^
+