summaryrefslogtreecommitdiffstats
path: root/clang/utils/ABITest/summarize.sh
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-05-08 00:49:21 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-05-08 00:49:21 +0000
commit766004f1793ff6cf82c7a5ff89f6c1ffb6d833cc (patch)
treedb390ffb7ea7530ec3c1bed86924cae894ba997a /clang/utils/ABITest/summarize.sh
parent3975f17f0424099aeef188dce46f19cb74cd8493 (diff)
downloadbcm5719-llvm-766004f1793ff6cf82c7a5ff89f6c1ffb6d833cc.tar.gz
bcm5719-llvm-766004f1793ff6cf82c7a5ff89f6c1ffb6d833cc.zip
Add various other bits I use to run ABITest.
llvm-svn: 71201
Diffstat (limited to 'clang/utils/ABITest/summarize.sh')
-rwxr-xr-xclang/utils/ABITest/summarize.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/clang/utils/ABITest/summarize.sh b/clang/utils/ABITest/summarize.sh
new file mode 100755
index 00000000000..6dba41564bb
--- /dev/null
+++ b/clang/utils/ABITest/summarize.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -eu
+
+if [ $# != 1 ]; then
+ echo "usage: $0 <num-tests>"
+ exit 1
+fi
+
+for i in $(zseq 0 $1); do
+ if (! make test.$i.report &> /dev/null); then
+ echo "FAIL: $i";
+ fi;
+done
+
OpenPOWER on IntegriCloud