projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba7516b
)
Try using ffcmp instead of md5 checking for FFmpeg file tests.
author
Carl Hetherington
<cth@carlh.net>
Wed, 18 Oct 2017 09:14:15 +0000
(10:14 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 18 Oct 2017 09:14:15 +0000
(10:14 +0100)
test/test.cc
patch
|
blob
|
history
diff --git
a/test/test.cc
b/test/test.cc
index 081a13a8cd93e07de09e5f25034dfa3c6e8c5ed5..ecb4a8af76421979a8f383f29102e7cf0cbafee0 100644
(file)
--- a/
test/test.cc
+++ b/
test/test.cc
@@
-444,8
+444,8
@@
check_ffmpeg_stream (boost::filesystem::path ref, boost::filesystem::path check,
void
check_ffmpeg (boost::filesystem::path ref, boost::filesystem::path check)
{
-
check_ffmpeg_stream (ref, check, "v"
);
-
check_ffmpeg_stream (ref, check, "a"
);
+
int const r = system (string("ffcmp " + ref.string() + " " + check.string()).c_str()
);
+
BOOST_REQUIRE_EQUAL (WEXITSTATUS(r), 0
);
}
void