]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/commitdiff
Run --fit tests without arguments
authorMichal Sojka <michal.sojka@cvut.cz>
Thu, 27 Sep 2018 05:33:13 +0000 (07:33 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Thu, 27 Sep 2018 05:33:13 +0000 (07:33 +0200)
This always scales down the patch size and ensures that tests are run
faster. Fixed value may sometimes increase the patch size, which results
in longer test times.

Makefile

index 542c419cc82724d383d7ad893e99cff589be873e..2bf9367a2932bd8cfdf556092a402ace3f423b1c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 
 BUILDS = opencvfft-st opencvfft-async opencvfft-openmp fftw fftw-async fftw-openmp fftw-big fftw-big-openmp cufftw cufftw-big cufftw-big-openmp cufft cufft-openmp cufft-big cufft-big-openmp
 TESTSEQ = bmx ball1 crossing racing book
-TESTFLAGS = default fit128
+TESTFLAGS = default fit
 
 all: $(BUILDS)
 
@@ -150,5 +150,5 @@ define ninja-testcase
 build build-$(1)/kcf_vot-$(2)-$(3).log: TEST_SEQ build-$(1)/kcf_vot $(filter-out %/output.txt,$(wildcard vot2016/$(2)/*)) vot2016/$(2)
   build = $(1)
   seq = vot2016/$(2)
-  flags = $(if $(3:fit128=),,--fit=128)
+  flags = $(if $(3:fit128=),,--fit=128)$(if $(3:fit=),,--fit)
 endef