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
6ae356c9
Commit
6ae356c9
authored
Aug 15, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fate: allow specifying the tool to use for fate (avconv / ffmpeg)
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
d27dc69b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
Makefile
tests/Makefile
+4
-2
fate-run.sh
tests/fate-run.sh
+2
-1
No files found.
tests/Makefile
View file @
6ae356c9
...
...
@@ -91,11 +91,13 @@ endif
FATE_UTILS
=
base64
tiny_psnr
TOOL
=
avconv
fate
:
$(FATE)
$(FATE)
:
avconv
$(EXESUF) $(FATE_UTILS:%=tests/%$(HOSTEXESUF))
$(FATE)
:
$(TOOL)
$(EXESUF) $(FATE_UTILS:%=tests/%$(HOSTEXESUF))
@
echo
"TEST
$
(@:fate-%=%)"
$(Q)$(SRC_PATH)
/tests/fate-run.sh
$@
"
$(SAMPLES)
"
"
$(TARGET_EXEC)
"
"
$(TARGET_PATH)
"
'
$(CMD)
'
'
$(CMP)
'
'
$(REF)
'
'
$(FUZZ)
'
'
$(THREADS)
'
'
$(THREAD_TYPE)
'
$(Q)$(SRC_PATH)
/tests/fate-run.sh
$@
"
$(SAMPLES)
"
"
$(TARGET_EXEC)
"
"
$(TARGET_PATH)
"
'
$(CMD)
'
'
$(CMP)
'
'
$(REF)
'
'
$(FUZZ)
'
'
$(THREADS)
'
'
$(THREAD_TYPE)
'
'
$(TOOL)
'
fate-list
:
@
printf
'%s\n'
$
(
sort
$(FATE)
)
...
...
tests/fate-run.sh
View file @
6ae356c9
...
...
@@ -17,6 +17,7 @@ ref=${7:-"${base}/ref/fate/${test}"}
fuzz
=
$8
threads
=
${
9
:-
1
}
thread_type
=
${
10
:-
3
}
tool
=
$11
outdir
=
"tests/data/fate"
outfile
=
"
${
outdir
}
/
${
test
}
"
...
...
@@ -50,7 +51,7 @@ run(){
}
avconv
(){
run
avconv
-v
0
-threads
$threads
-thread_type
$thread_type
"
$@
"
run
$tool
-v
0
-threads
$threads
-thread_type
$thread_type
"
$@
"
}
framecrc
(){
...
...
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