diff options
-rw-r--r-- | tests/Makefile | 5 | ||||
-rwxr-xr-x | tests/fate-run.sh | 2 | ||||
-rwxr-xr-x | tests/lavf-regression.sh | 1 | ||||
-rwxr-xr-x | tests/regression-funcs.sh | 3 |
4 files changed, 3 insertions, 8 deletions
diff --git a/tests/Makefile b/tests/Makefile index 0e809770ae..ae658693db 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -10,7 +10,8 @@ FFMPEG=ffmpeg$(PROGSSUF)$(EXESUF) $(AREF): CMP= APITESTSDIR := tests/api -OUTDIRS += tests/data tests/vsynth1 tests/data/filtergraphs $(APITESTSDIR)/ +FATE_OUTDIRS = tests/data tests/data/fate tests/data/filtergraphs tests/data/lavf tests/data/lavf-fate tests/data/pixfmt tests/vsynth1 $(APITESTSDIR) +OUTDIRS += $(FATE_OUTDIRS) $(VREF): tests/videogen$(HOSTEXESUF) | tests/vsynth1 $(M)./$< 'tests/vsynth1/' @@ -224,7 +225,7 @@ fate-hw: $(FATE_HW-yes) FATE += $(FATE_HW-yes) $(FATE) $(FATE_TESTS-no): export PROGSUF = $(PROGSSUF) -$(FATE) $(FATE_TESTS-no): $(FATE_UTILS:%=tests/%$(HOSTEXESUF)) +$(FATE) $(FATE_TESTS-no): $(FATE_UTILS:%=tests/%$(HOSTEXESUF)) | $(FATE_OUTDIRS) @echo "TEST $(@:fate-%=%)" $(Q)$(SRC_PATH)/tests/fate-run.sh $@ "$(TARGET_SAMPLES)" "$(TARGET_EXEC)" "$(TARGET_PATH)" '$(CMD)' '$(CMP)' '$(REF)' '$(FUZZ)' '$(THREADS)' '$(THREAD_TYPE)' '$(CPUFLAGS)' '$(CMP_SHIFT)' '$(CMP_TARGET)' '$(SIZE_TOLERANCE)' '$(CMP_UNIT)' '$(GEN)' '$(HWACCEL)' '$(REPORT)' '$(KEEP)' diff --git a/tests/fate-run.sh b/tests/fate-run.sh index aece90a01d..f1a1e34c36 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -377,8 +377,6 @@ null(){ : } -mkdir -p "$outdir" - # Disable globbing: command arguments may contain globbing characters and # must be kept verbatim set -f diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index 45c877e4ac..f3dc84d295 100755 --- a/tests/lavf-regression.sh +++ b/tests/lavf-regression.sh @@ -411,7 +411,6 @@ fi if [ -n "$do_pixfmt" ] ; then outfile="$datadir/pixfmt/" -mkdir -p "$outfile" conversions="yuv420p yuv422p yuv444p yuyv422 yuv410p yuv411p yuvj420p \ yuvj422p yuvj444p rgb24 bgr24 rgb32 rgb565 rgb555 gray monow \ monob yuv440p yuvj440p" diff --git a/tests/regression-funcs.sh b/tests/regression-funcs.sh index 0c7d34bea3..c88828c4a9 100755 --- a/tests/regression-funcs.sh +++ b/tests/regression-funcs.sh @@ -32,9 +32,6 @@ target_crcfile="$target_datadir/$this.crc" cleanfiles="$raw_dst $crcfile" trap 'rm -f -- $cleanfiles' EXIT -mkdir -p "$datadir" -mkdir -p "$outfile" - [ "${V-0}" -gt 0 ] && echov=echov || echov=: echov(){ |