aboutsummaryrefslogtreecommitdiffstats
path: root/test-all
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-03-24 15:55:53 +0100
committerMattias Andrée <maandree@kth.se>2016-03-24 15:55:53 +0100
commit0896279fcf6d8d17273d83892dff1763558db77e (patch)
tree7e6f09f0a480658f97680cb87d0cfbbb881d9106 /test-all
parentadd EPATH variable (diff)
downloadbase-util-tests-0896279fcf6d8d17273d83892dff1763558db77e.tar.gz
base-util-tests-0896279fcf6d8d17273d83892dff1763558db77e.tar.bz2
base-util-tests-0896279fcf6d8d17273d83892dff1763558db77e.tar.xz
report standards-compliance
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'test-all')
-rwxr-xr-xtest-all6
1 files changed, 5 insertions, 1 deletions
diff --git a/test-all b/test-all
index e233bcf..82b7db4 100755
--- a/test-all
+++ b/test-all
@@ -31,8 +31,12 @@ true > result
for t in $@; do
printf '\033[1mTesting %s ...\033[m\n' "$t"
- if ! ./${t}-test/test; then
+ ./${t}-test/test
+ r=$?
+ if test $r -ge 2; then
echo $t >> result
+ elif test $r = 1; then
+ echo $t '(standards-compliant)' >> result
fi
echo
done