Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
audiowmark
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
audiowmark
Commits
abe39588
Commit
abe39588
authored
Aug 28, 2022
by
Stefan Westerfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run hls test during make check if --with-ffmpeg was used for building.
Signed-off-by:
Stefan Westerfeld
<
stefan@space.twc.de
>
parent
149955ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
8 deletions
+17
-8
Makefile.am
tests/Makefile.am
+10
-1
hls-test.sh
tests/hls-test.sh
+7
-7
No files found.
tests/Makefile.am
View file @
abe39588
check
:
detect-speed-test block-decoder-test clip-decoder-test
\
CHECKS
=
detect-speed-test block-decoder-test clip-decoder-test
\
pipe-test short-payload-test sync-test sample-rate-test
\
key-test
if
COND_WITH_FFMPEG
CHECKS
+=
hls-test
endif
EXTRA_DIST
=
detect-speed-test.sh block-decoder-test.sh clip-decoder-test.sh
\
pipe-test.sh short-payload-test.sh sync-test.sh sample-rate-test.sh
\
key-test.sh hls-test.sh
check
:
$(CHECKS)
detect-speed-test
:
Q
=
1
$(top_srcdir)
/tests/detect-speed-test.sh
...
...
@@ -29,3 +35,6 @@ sample-rate-test:
key-test
:
Q
=
1
$(top_srcdir)
/tests/key-test.sh
hls-test
:
Q
=
1
$(top_srcdir)
/tests/hls-test.sh
tests/hls-test.sh
View file @
abe39588
...
...
@@ -8,7 +8,7 @@ fi
set
-e
HLS_DIR
=
hls-test
HLS_DIR
=
hls-test
-dir.
$$
mkdir
-p
$HLS_DIR
# generate input sample
...
...
@@ -38,11 +38,11 @@ ffmpeg $FFMPEG_Q -y -i $HLS_DIR/as0m/out.m3u8 $HLS_DIR/test-output.wav
# detect watermark from wav
audiowmark_cmp
--expect-matches
5
$HLS_DIR
/test-output.wav
$TEST_MSG
rm
hls-test
/as0
*
/
*
.ts
rm
hls-test
/as0
*
/out.m3u8
rmdir
hls-test
/as0
*
rm
hls-test
/test-
*
.wav
rm
hls-test
/replay.m3u8
rmdir
hls-test
rm
$HLS_DIR
/as0
*
/
*
.ts
rm
$HLS_DIR
/as0
*
/out.m3u8
rmdir
$HLS_DIR
/as0
*
rm
$HLS_DIR
/test-
*
.wav
rm
$HLS_DIR
/replay.m3u8
rmdir
$HLS_DIR
exit
0
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