Skip tests by returning 77
authorBehdad Esfahbod <behdad@behdad.org>
Sat, 6 Aug 2011 00:11:06 +0000 (20:11 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Sat, 6 Aug 2011 00:11:06 +0000 (20:11 -0400)
automake test runner understands this.

src/check-internal-symbols.sh
src/check-libstdc++.sh

index 2885fa4..a2f32b1 100755 (executable)
@@ -11,7 +11,7 @@ if which nm 2>/dev/null >/dev/null; then
        :
 else
        echo "check-internal-symbols.sh: 'nm' not found; skipping test"
-       exit 0
+       exit 77
 fi
 
 so=.libs/libharfbuzz.so
@@ -23,6 +23,7 @@ if test -f "$so"; then
        fi
 else
        echo "check-internal-symbols.sh: libharfbuzz.so not found; skipping test"
+       exit 77
 fi
 
 exit $stat
index 40e73b0..bbc8ac3 100755 (executable)
@@ -11,7 +11,7 @@ if which ldd 2>/dev/null >/dev/null; then
        :
 else
        echo "check-libstdc++.sh: 'ldd' not found; skipping test"
-       exit 0
+       exit 77
 fi
 
 so=.libs/libharfbuzz.so
@@ -23,6 +23,7 @@ if test -f "$so"; then
        fi
 else
        echo "check-libstdc++.sh: libharfbuzz.so not found; skipping test"
+       exit 77
 fi
 
 exit $stat