commit edfd5be2989a75d6a69e084a3dd6b002ce9fcbe3
parent 37ec7203bdee3a9ba0ea013ecb279ad70f8b363c
Author: Kyle Milz <kyle@0x30.net>
Date: Sun, 25 Dec 2016 13:11:00 -0700
src: add skips if binaries can't be found
Diffstat:
4 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/t/wrap_cmake.sh b/t/wrap_cmake.sh
@@ -3,6 +3,7 @@
# Test that wrapping the 'cmake' build system produces instrumented binaries.
#
. t/utils.subr
+type cmake || skip_all "ninja not found"
plan 7
diff --git a/t/wrap_jam.sh b/t/wrap_jam.sh
@@ -3,6 +3,7 @@
# Test that wrapping the 'jam' build system produces instrumented binaries.
#
. t/utils.subr
+type jam || skip_all "jam not found"
plan 6
diff --git a/t/wrap_make.sh b/t/wrap_make.sh
@@ -3,6 +3,7 @@
# Test that wrapping the 'make' build system produces instrumented binaries.
#
. t/utils.subr
+type make || skip_all "make not found"
plan 6
diff --git a/t/wrap_ninja.sh b/t/wrap_ninja.sh
@@ -3,9 +3,9 @@
# Test that wrapping the 'ninja' build system produces instrumented binaries.
#
. t/utils.subr
+type ninja || skip_all "ninja not found"
plan 6
-
cat <<EOF > main.c
int
main(void)