mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-14 00:58:38 +02:00
build: move tests/seek_test.c to libavformat and reuse generic build rules
This commit is contained in:
parent
2c4d7bf008
commit
191c5f8ff3
1
.gitignore
vendored
1
.gitignore
vendored
@ -30,7 +30,6 @@ tests/audiogen
|
|||||||
tests/base64
|
tests/base64
|
||||||
tests/data
|
tests/data
|
||||||
tests/rotozoom
|
tests/rotozoom
|
||||||
tests/seek_test
|
|
||||||
tests/tiny_psnr
|
tests/tiny_psnr
|
||||||
tests/videogen
|
tests/videogen
|
||||||
tests/vsynth1
|
tests/vsynth1
|
||||||
|
@ -334,7 +334,7 @@ OBJS-$(CONFIG_UDP_PROTOCOL) += udp.o
|
|||||||
OBJS-$(CONFIG_JACK_INDEV) += timefilter.o
|
OBJS-$(CONFIG_JACK_INDEV) += timefilter.o
|
||||||
|
|
||||||
EXAMPLES = metadata output
|
EXAMPLES = metadata output
|
||||||
TESTPROGS = timefilter
|
TESTPROGS = seek timefilter
|
||||||
TOOLS = pktdumper probetest
|
TOOLS = pktdumper probetest
|
||||||
|
|
||||||
include $(SRC_PATH)/subdir.mak
|
include $(SRC_PATH)/subdir.mak
|
||||||
|
@ -28,9 +28,6 @@ tests/data/asynth1.sw: tests/audiogen$(HOSTEXESUF)
|
|||||||
|
|
||||||
tests/data/asynth1.sw tests/vsynth%/00.pgm: TAG = GEN
|
tests/data/asynth1.sw tests/vsynth%/00.pgm: TAG = GEN
|
||||||
|
|
||||||
tests/seek_test$(EXESUF): tests/seek_test.o $(FF_DEP_LIBS)
|
|
||||||
$(LD) $(LDFLAGS) -o $@ $< $(FF_EXTRALIBS)
|
|
||||||
|
|
||||||
include $(SRC_PATH)/tests/fate.mak
|
include $(SRC_PATH)/tests/fate.mak
|
||||||
include $(SRC_PATH)/tests/fate2.mak
|
include $(SRC_PATH)/tests/fate2.mak
|
||||||
|
|
||||||
@ -64,7 +61,7 @@ $(filter-out %-aref,$(FATE_ACODEC)): $(AREF)
|
|||||||
$(filter-out %-vref,$(FATE_VCODEC)): $(VREF)
|
$(filter-out %-vref,$(FATE_VCODEC)): $(VREF)
|
||||||
$(FATE_LAVF): $(REFS)
|
$(FATE_LAVF): $(REFS)
|
||||||
$(FATE_LAVFI): $(REFS) tools/lavfi-showfiltfmts$(EXESUF)
|
$(FATE_LAVFI): $(REFS) tools/lavfi-showfiltfmts$(EXESUF)
|
||||||
$(FATE_SEEK): fate-codec fate-lavf tests/seek_test$(EXESUF)
|
$(FATE_SEEK): fate-codec fate-lavf libavformat/seek-test$(EXESUF)
|
||||||
|
|
||||||
$(FATE_ACODEC): CMD = codectest acodec
|
$(FATE_ACODEC): CMD = codectest acodec
|
||||||
$(FATE_VSYNTH1): CMD = codectest vsynth1
|
$(FATE_VSYNTH1): CMD = codectest vsynth1
|
||||||
@ -107,7 +104,6 @@ clean:: testclean
|
|||||||
testclean:
|
testclean:
|
||||||
$(RM) -r tests/vsynth1 tests/vsynth2 tests/data
|
$(RM) -r tests/vsynth1 tests/vsynth2 tests/data
|
||||||
$(RM) $(CLEANSUFFIXES:%=tests/%)
|
$(RM) $(CLEANSUFFIXES:%=tests/%)
|
||||||
$(RM) tests/seek_test$(EXESUF) tests/seek_test.o
|
|
||||||
$(RM) $(TESTTOOLS:%=tests/%$(HOSTEXESUF))
|
$(RM) $(TESTTOOLS:%=tests/%$(HOSTEXESUF))
|
||||||
|
|
||||||
-include $(wildcard tests/*.d)
|
-include $(wildcard tests/*.d)
|
||||||
|
@ -104,7 +104,7 @@ seektest(){
|
|||||||
file=$(echo tests/data/$d/$file)
|
file=$(echo tests/data/$d/$file)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
$target_exec $target_path/tests/seek_test $target_path/$file
|
$target_exec $target_path/libavformat/seek-test $target_path/$file
|
||||||
}
|
}
|
||||||
|
|
||||||
mkdir -p "$outdir"
|
mkdir -p "$outdir"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user