projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a804ac
)
Check for required executables before starting tests.
author
Carl Hetherington
<cth@carlh.net>
Thu, 30 Apr 2015 16:52:32 +0000
(17:52 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 30 Apr 2015 16:52:32 +0000
(17:52 +0100)
run/tests
patch
|
blob
|
history
diff --git
a/run/tests
b/run/tests
index 7083c6842b742f6b0c8252b877a1da67ec1918c2..1f73c2727828dbea17cdf80a89a7a87d75de5b22 100755
(executable)
--- a/
run/tests
+++ b/
run/tests
@@
-12,6
+12,10
@@
dcpinfo=build/tools/dcpinfo
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:build/src:build/asdcplib/src
+for c in xmlsec1 xmldiff; do
+ hash $c 2>/dev/null || { echo >&2 "$c required but not found; aborting"; exit 1; }
+done
+
# Run the unit tests in test/
if [ "$1" == "--debug" ]; then
shift