]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/commitdiff
Really ignore test failures
authorMichal Sojka <michal.sojka@cvut.cz>
Tue, 25 Sep 2018 10:55:11 +0000 (12:55 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Tue, 25 Sep 2018 11:20:04 +0000 (13:20 +0200)
On Travis, we sometimes got strange failures without any error messages.

Makefile

index 1207111c5bc2c3f0da17867a39d6d5b340b26d0d..86c944e29e8fa7f4bbc8a6704377e6a41f61cabf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -116,7 +116,7 @@ rule NINJA
   restat = 1
 rule TEST_SEQ
   # Errors are ignored - they will be reported by PRINT_RESULTS
-  command = build-$$build/kcf_vot $$flags $$seq $(if $(TRAVIS),2>&1) >$$out $(if $(TRAVIS),| grep -v libdc1394) || :
+  command = build-$$build/kcf_vot $$flags $$seq $(if $(TRAVIS),2>&1) >$$out $(if $(TRAVIS),| grep -v libdc1394); true
 rule PRINT_RESULTS
   description = Print results
   command = ./wvtool -w125 -v run ./print-test-results $$in