Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
206a070d
Commit
206a070d
authored
Oct 16, 2012
by
Mans Rullgard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fate: list lavfi tests in a makefile
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
36ac9a16
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
24 deletions
+26
-24
configure
configure
+1
-14
Makefile
tests/Makefile
+1
-10
avfilter.mak
tests/fate/avfilter.mak
+24
-0
No files found.
configure
View file @
206a070d
...
...
@@ -1872,21 +1872,13 @@ ALL_COMPONENTS="
$PROTOCOL_LIST
"
find_tests
(){
map
"echo
${
2
}
\$
{v}_test"
$(
ls
"
$source_path
"
/tests/ref/
$1
|
grep
-v
'[^-a-z0-9_]'
)
}
LAVFI_TESTS
=
$(
find_tests lavfi
)
ALL_TESTS
=
"
$LAVFI_TESTS
"
for
n
in
$COMPONENT_LIST
;
do
v
=
$(
toupper
${
n
%s
})
_LIST
eval enable
\$
$v
eval
${
n
}
_if_any
=
"
\$
$v
"
done
enable
$ARCH_EXT_LIST
$ALL_TESTS
enable
$ARCH_EXT_LIST
die_unknown
(){
echo
"Unknown option
\"
$1
\"
."
...
...
@@ -3521,7 +3513,6 @@ check_deps $CONFIG_LIST \
$CONFIG_EXTRA
\
$HAVE_LIST
\
$ALL_COMPONENTS
\
$ALL_TESTS
\
!
enabled_any memalign posix_memalign aligned_malloc
&&
enabled_any
$need_memalign
&&
enable
memalign_hack
...
...
@@ -3780,10 +3771,6 @@ print_config CONFIG_ "$config_files" $CONFIG_LIST \
$CONFIG_EXTRA
\
$ALL_COMPONENTS
\
cat
>>
config.mak
<<
EOF
LAVFI_TESTS=
$(
print_enabled
-n
_test
$LAVFI_TESTS
)
EOF
echo
"#endif /* LIBAV_CONFIG_H */"
>>
$TMPH
# Do not overwrite an unchanged config.h to avoid superfluous rebuilds.
...
...
tests/Makefile
View file @
206a070d
...
...
@@ -36,6 +36,7 @@ ENCDEC2 = $(call ALLYES, $(firstword $(1))_ENCODER $(lastword $(1))_DECODER \
include
$(SRC_PATH)/tests/fate/acodec.mak
include
$(SRC_PATH)/tests/fate/vcodec.mak
include
$(SRC_PATH)/tests/fate/avformat.mak
include
$(SRC_PATH)/tests/fate/avfilter.mak
include
$(SRC_PATH)/tests/fate/seek.mak
include
$(SRC_PATH)/tests/fate/aac.mak
...
...
@@ -85,10 +86,6 @@ include $(SRC_PATH)/tests/fate/vqf.mak
include
$(SRC_PATH)/tests/fate/wavpack.mak
include
$(SRC_PATH)/tests/fate/wma.mak
FATE_LAVFI
=
$
(
LAVFI_TESTS:%
=
fate-lavfi-%
)
FATE_AVCONV
+=
$(FATE_LAVFI)
\
FATE_AVCONV
+=
$
(
FATE_AVCONV-yes
)
FATE-$(CONFIG_AVCONV)
+=
$(FATE_AVCONV)
...
...
@@ -103,12 +100,6 @@ FATE += $(FATE_LIBAVUTIL)
$(FATE_AVCONV) $(FATE_SAMPLES_AVCONV)
:
avconv$(EXESUF)
$(FATE_LAVFI)
:
$(VREF) libavfilter/filtfmts-test$(EXESUF)
$(FATE_LAVFI)
:
CMD = lavfitest
fate-lavfi
:
$(FATE_LAVFI)
ifdef
SAMPLES
FATE
+=
$(FATE_SAMPLES)
fate-rsync
:
...
...
tests/fate/avfilter.mak
0 → 100644
View file @
206a070d
FATE_LAVFI = fate-lavfi-crop \
fate-lavfi-crop_scale \
fate-lavfi-crop_scale_vflip \
fate-lavfi-crop_vflip \
fate-lavfi-null \
fate-lavfi-pixdesc \
fate-lavfi-pixfmts_copy \
fate-lavfi-pixfmts_crop \
fate-lavfi-pixfmts_hflip \
fate-lavfi-pixfmts_null \
fate-lavfi-pixfmts_pad \
fate-lavfi-pixfmts_scale \
fate-lavfi-pixfmts_vflip \
fate-lavfi-scale200 \
fate-lavfi-scale500 \
fate-lavfi-vflip \
fate-lavfi-vflip_crop \
fate-lavfi-vflip_vflip \
$(FATE_LAVFI): $(VREF) libavfilter/filtfmts-test$(EXESUF)
$(FATE_LAVFI): CMD = lavfitest
FATE_AVCONV += $(FATE_LAVFI)
fate-lavfi: $(FATE_LAVFI)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment