Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
9434ead2
F
Ffmpeg
项目概览
小白菜888
/
Ffmpeg
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
Ffmpeg
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9434ead2
编写于
10月 19, 2012
作者:
J
jamal
提交者:
Michael Niedermayer
10月 19, 2012
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fate: Handle lavf-fate tests in a makefile
Signed-off-by:
N
Michael Niedermayer
<
michaelni@gmx.at
>
上级
c5fd9d3c
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
12 addition
and
23 deletion
+12
-23
configure
configure
+1
-14
tests/Makefile
tests/Makefile
+1
-8
tests/fate/avformat.mak
tests/fate/avformat.mak
+10
-1
未找到文件。
configure
浏览文件 @
9434ead2
...
...
@@ -2127,21 +2127,13 @@ ALL_COMPONENTS="
$PROTOCOL_LIST
"
find_tests
(){
map
"echo
${
2
}
\$
{v}_test"
$(
ls
"
$source_path
"
/tests/ref/
$1
|
grep
-v
'[^-a-z0-9_]'
)
}
LAVF_FATE_TESTS
=
$(
find_tests lavf-fate
)
ALL_TESTS
=
"
$LAVF_FATE_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
\"
."
...
...
@@ -3950,7 +3942,6 @@ check_deps $CONFIG_LIST \
$CONFIG_EXTRA
\
$HAVE_LIST
\
$ALL_COMPONENTS
\
$ALL_TESTS
\
if
test
$target_os
=
"haiku"
;
then
...
...
@@ -4306,10 +4297,6 @@ print_config CONFIG_ "$config_files" $CONFIG_LIST \
$CONFIG_EXTRA
\
$ALL_COMPONENTS
\
cat
>>
config.mak
<<
EOF
LAVF_FATE_TESTS=
$(
print_enabled
-n
_test
$LAVF_FATE_TESTS
)
EOF
echo
"#endif /* FFMPEG_CONFIG_H */"
>>
$TMPH
echo
"endif # FFMPEG_CONFIG_MAK"
>>
config.mak
...
...
tests/Makefile
浏览文件 @
9434ead2
...
...
@@ -113,8 +113,6 @@ include $(SRC_PATH)/tests/fate/vqf.mak
include
$(SRC_PATH)/tests/fate/wavpack.mak
include
$(SRC_PATH)/tests/fate/wma.mak
FATE_LAVF_FATE
=
$
(
LAVF_FATE_TESTS:%
=
fate-lavf-fate-%
)
FATE_FFMPEG
+=
$
(
FATE_FFMPEG-yes
)
$(FATE_AVCONV)
$
(
FATE_AVCONV-yes
)
FATE-$(CONFIG_FFMPEG)
+=
$(FATE_FFMPEG)
FATE-$(CONFIG_FFPROBE)
+=
$(FATE_FFPROBE)
...
...
@@ -129,16 +127,11 @@ FATE_EXTERN += $(FATE_EXTERN-yes)
FATE
+=
$
(
FATE-yes
)
FATE
+=
$(FATE_LIBAVUTIL)
$(FATE_FFMPEG) $(FATE_
LAVF_FATE) $(FATE_
SAMPLES_AVCONV) $(FATE_SAMPLES_FFMPEG)
:
ffmpeg$(EXESUF)
$(FATE_FFMPEG) $(FATE_SAMPLES_AVCONV) $(FATE_SAMPLES_FFMPEG)
:
ffmpeg$(EXESUF)
$(FATE_FFPROBE)
:
ffprobe$(EXESUF)
$(FATE_LAVF_FATE)
:
CMD = lavffatetest
fate-lavf-fate
:
$(FATE_LAVF_FATE)
ifdef
SAMPLES
FATE
+=
$(FATE_LAVF_FATE)
FATE
+=
$(FATE_FULL)
$
(
FATE_FULL-yes
)
FATE
+=
$(FATE_EXTERN)
fate-rsync
:
...
...
tests/fate/avformat.mak
浏览文件 @
9434ead2
...
...
@@ -21,7 +21,6 @@ FATE_LAVF-$(call ENCDEC2, MPEG2VIDEO, PCM_S16LE, MXF) += mxf
FATE_LAVF-$(call
ENCDEC2,
MPEG2VIDEO,
PCM_S16LE,
MXF_D10
MXF)
+=
mxf_d10
FATE_LAVF-$(call
ENCDEC2,
MPEG4,
MP2,
NUT)
+=
nut
FATE_LAVF-$(call
ENCDEC,
FLAC,
OGG)
+=
ogg
FATE_LAVF-$(call
ENCDEC,
VP3,
OGG)
+=
ogg_vp3
FATE_LAVF-$(call
ENCDEC,
PAM,
IMAGE2)
+=
pam
FATE_LAVF-$(call
ENCDEC,
PBM,
IMAGE2PIPE)
+=
pbmpipe
FATE_LAVF-$(call
ENCDEC,
PCX,
IMAGE2)
+=
pcx
...
...
@@ -55,3 +54,13 @@ $(FATE_LAVF): CMD = lavftest
FATE_AVCONV
+=
$(FATE_LAVF)
fate-lavf
:
$(FATE_LAVF)
FATE_LAVF_FATE-$(call
ALLYES,
MATROSKA_DEMUXER
OGG_MUXER)
+=
ogg_vp3
FATE_LAVF_FATE-$(call
ALLYES,
MOV_DEMUXER
LATM_MUXER)
+=
latm
FATE_LAVF_FATE-$(call
ALLYES,
MP3_DEMUXER
MP3_MUXER)
+=
mp3
FATE_LAVF_FATE
+=
$
(
FATE_LAVF_FATE-yes:%
=
fate-lavf-fate-%
)
$(FATE_LAVF_FATE)
:
CMD = lavffatetest
FATE_SAMPLES_FFMPEG
+=
$(FATE_LAVF_FATE)
fate-lavf-fate
:
$(FATE_LAVF_FATE)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录