From 4538efacca84329a60ff69851de70027d9b4f567 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 5 Aug 2011 20:11:06 -0400 Subject: [PATCH] Skip tests by returning 77 automake test runner understands this. --- src/check-internal-symbols.sh | 3 ++- src/check-libstdc++.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/check-internal-symbols.sh b/src/check-internal-symbols.sh index 2885fa4de..a2f32b1ba 100755 --- a/src/check-internal-symbols.sh +++ b/src/check-internal-symbols.sh @@ -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 diff --git a/src/check-libstdc++.sh b/src/check-libstdc++.sh index 40e73b04e..bbc8ac3eb 100755 --- a/src/check-libstdc++.sh +++ b/src/check-libstdc++.sh @@ -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