diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2015-08-05 16:51:30 +0200 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2015-08-05 10:58:00 -0400 |
commit | 75cdbb8e82589ed99b00e1acf0f54e58797dd9e6 (patch) | |
tree | 381ddb5bccab7f9dd5e1f1472c4f2b8f2d00c84d /tests/test-admin-locking.sh | |
parent | 8b9effea56191ef925dd2f6f6ab4f64d929eb20a (diff) | |
download | ostree-75cdbb8e82589ed99b00e1acf0f54e58797dd9e6.tar.gz |
tests: skip tests using gjs/parallel if they are not installed
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes #131
Diffstat (limited to 'tests/test-admin-locking.sh')
-rw-r--r-- | tests/test-admin-locking.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test-admin-locking.sh b/tests/test-admin-locking.sh index b82fd5c3..6b432202 100644 --- a/tests/test-admin-locking.sh +++ b/tests/test-admin-locking.sh @@ -40,6 +40,9 @@ echo "rev=${rev}" ${CMD_PREFIX} ostree admin deploy --karg=root=LABEL=MOO --karg=quiet --os=testos testos:testos/buildmaster/x86_64-runtime assert_has_dir sysroot/boot/ostree/testos-${bootcsum} +# If parallel is not installed, skip the test +parallel --help >/dev/null 2>&1 || exit 77 + parallel_cmd=parallel if parallel --help | grep -q -e --no-notice; then parallel_cmd="${parallel_cmd} --no-notice" |