summaryrefslogtreecommitdiff
path: root/tests.build
diff options
context:
space:
mode:
authorRichard Dale <richard.dale@codethink.co.uk>2013-05-30 10:57:55 +0100
committerRichard Dale <richard.dale@codethink.co.uk>2013-05-30 10:57:55 +0100
commitcfd49d9342a197308f0e7bdd19f6a8ece8516481 (patch)
treea7be0f8cb6d0fa6f7b747fb62cfa103035385b12 /tests.build
parent70f21759d03cfc930d26f8abac0d56a8279276b8 (diff)
downloadmorph-cfd49d9342a197308f0e7bdd19f6a8ece8516481.tar.gz
qmake build system test still succeeds when qmake isn't found
Diffstat (limited to 'tests.build')
-rwxr-xr-xtests.build/build-system-qmake.script6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests.build/build-system-qmake.script b/tests.build/build-system-qmake.script
index c9175b99..d9e21fba 100755
--- a/tests.build/build-system-qmake.script
+++ b/tests.build/build-system-qmake.script
@@ -21,6 +21,12 @@
set -eu
+if ! command -v qmake > /dev/null ; then
+ # There is no qmake, so skip this test.
+ cat "$SRCDIR/tests.build/build-system-qmake.stdout"
+ exit 0
+fi
+
chunkrepo="$DATADIR/chunk-repo"
cd "$chunkrepo"