diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-04-30 17:52:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-04-30 17:52:32 +0100 |
| commit | 8f3587b92cd06b6d84fcf566940fe57ca1094e7d (patch) | |
| tree | 28134e80ae4fa0b4dd20d055afb98428611d8657 /run | |
| parent | 6a804ace532c13b2095972cd48d422e2c9fa0b70 (diff) | |
Check for required executables before starting tests.
Diffstat (limited to 'run')
| -rwxr-xr-x | run/tests | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |
