Skip tests by returning 77

automake test runner understands this.
This commit is contained in:
Behdad Esfahbod 2011-08-05 20:11:06 -04:00
parent 54eb65538d
commit 4538efacca
2 changed files with 4 additions and 2 deletions

View File

@ -11,7 +11,7 @@ if which nm 2>/dev/null >/dev/null; then
: :
else else
echo "check-internal-symbols.sh: 'nm' not found; skipping test" echo "check-internal-symbols.sh: 'nm' not found; skipping test"
exit 0 exit 77
fi fi
so=.libs/libharfbuzz.so so=.libs/libharfbuzz.so
@ -23,6 +23,7 @@ if test -f "$so"; then
fi fi
else else
echo "check-internal-symbols.sh: libharfbuzz.so not found; skipping test" echo "check-internal-symbols.sh: libharfbuzz.so not found; skipping test"
exit 77
fi fi
exit $stat exit $stat

View File

@ -11,7 +11,7 @@ if which ldd 2>/dev/null >/dev/null; then
: :
else else
echo "check-libstdc++.sh: 'ldd' not found; skipping test" echo "check-libstdc++.sh: 'ldd' not found; skipping test"
exit 0 exit 77
fi fi
so=.libs/libharfbuzz.so so=.libs/libharfbuzz.so
@ -23,6 +23,7 @@ if test -f "$so"; then
fi fi
else else
echo "check-libstdc++.sh: libharfbuzz.so not found; skipping test" echo "check-libstdc++.sh: libharfbuzz.so not found; skipping test"
exit 77
fi fi
exit $stat exit $stat