Janne Grunau <[email protected]> writes: > -seektest(){ > - t="${test#seek-}" > - ref=${base}/ref/seek/$t > - case $t in > - image_*) file="tests/data/images/${t#image_}/%02d.${t#image_}" ;; > - *) file=$(echo $t | tr _ '?') > - for d in fate/acodec- fate/vsynth2- lavf/; do > - test -f tests/data/$d$file && break > - done > - file=$(echo tests/data/$d$file) > - ;; > - esac > - run libavformat/seek-test $target_path/$file > -}
Nice to see that eyesore gone. > diff --git a/tests/fate/acodec.mak b/tests/fate/acodec.mak > index 71521ab..4f73dfd 100644 > --- a/tests/fate/acodec.mak > +++ b/tests/fate/acodec.mak > @@ -2,6 +2,7 @@ fate-acodec-%: CODEC = $(@:fate-acodec-%=%) > fate-acodec-%: SRC = tests/data/asynth-44100-2.wav > fate-acodec-%: CMD = enc_dec wav $(SRC) $(FMT) "-b 128k -c $(CODEC)" wav "-c > pcm_s16le" -keep > fate-acodec-%: CMP_UNIT = 2 > +fate-acodec-%: REF = $(SRC_PATH)/tests/ref/fate/$(@:fate-%=%) > > FATE_ACODEC_PCM-$(call ENCDEC, PCM_ALAW, WAV) += alaw > FATE_ACODEC_PCM-$(call ENCDEC, PCM_MULAW, WAV) += mulaw What's this? [...] > +$(FATE_SEEK): CMD = run libavformat/seek-test$(EXESUF) tests/data/$(SRC) This needs $(TARGET_PATH) > diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak > index b9ff1ea..6309e2a 100644 > --- a/tests/fate/vcodec.mak > +++ b/tests/fate/vcodec.mak > @@ -4,6 +4,7 @@ fate-vsynth%: CODEC = $(word 3, $(subst -, ,$(@))) > fate-vsynth%: FMT = avi > fate-vsynth%: CMD = enc_dec "rawvideo -s 352x288 -pix_fmt yuv420p" $(SRC) > $(FMT) "-c $(CODEC) $(ENCOPTS)" rawvideo "-s 352x288 -pix_fmt yuv420p > $(DECOPTS)" -keep > fate-vsynth%: CMP_UNIT = 1 > +fate-vsynth2-%: REF = $(SRC_PATH)/tests/ref/fate/$(@:fate-%=%) What's this? -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
