[llvm-commits] CVS: reopt/test/run-tests
Brian Gaeke
gaeke at cs.uiuc.edu
Thu Jul 8 14:24:01 PDT 2004
Changes in directory reopt/test:
run-tests updated: 1.11 -> 1.12
---
Log message:
Add -list option that shows which tests we know about.
---
Diffs of the changes: (+8 -0)
Index: reopt/test/run-tests
diff -u reopt/test/run-tests:1.11 reopt/test/run-tests:1.12
--- reopt/test/run-tests:1.11 Tue Jul 6 21:19:52 2004
+++ reopt/test/run-tests Thu Jul 8 14:23:29 2004
@@ -24,11 +24,19 @@
-clean) action=clean ;;
-debug) action=debug ;;
-test) action=test ;;
+ -list) action=list ;;
*) benchmk=$arg ;;
esac
done
# sanity check arguments
+if [ "$action" = "list" ]; then
+ echo ""
+ echo "SUPPORTED TESTS:"
+ echo "----------------"
+ grep SUBDIR= $0 | egrep -v '(exec|grep)' | sed 's/) / /' | sed 's/;.*$//'
+ exit 0
+fi
if [ -z "$benchmk" ]; then
die "Error: You must specify a benchmark."
fi
More information about the llvm-commits
mailing list