mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge commit 'e22ffb3805f6994bd1fd7ab73e6297f36a53f915'
* commit 'e22ffb3805f6994bd1fd7ab73e6297f36a53f915': tests: Unify output directory creation Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
commit
1c9ac700dd
@ -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)'
|
||||
|
||||
|
@ -377,8 +377,6 @@ null(){
|
||||
:
|
||||
}
|
||||
|
||||
mkdir -p "$outdir"
|
||||
|
||||
# Disable globbing: command arguments may contain globbing characters and
|
||||
# must be kept verbatim
|
||||
set -f
|
||||
|
@ -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"
|
||||
|
@ -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(){
|
||||
|
Loading…
Reference in New Issue
Block a user