perf-test: run all appropriately named time tests
authorDavid Bremner <bremner@debian.org>
Wed, 15 May 2013 10:48:30 +0000 (07:48 -0300)
committerDavid Bremner <bremner@debian.org>
Thu, 16 May 2013 01:23:29 +0000 (22:23 -0300)
This avoids hassle with manually adding every test to the master list.

performance-test/notmuch-time-test

index 54a208f71f52e55eea1e0a67a1e70b3968f65b4f..7113efbfd5649576e83d7720b2d06766cd12c23d 100755 (executable)
@@ -16,12 +16,6 @@ fi
 
 cd $(dirname "$0")
 
-TESTS="
-  T00-new
-  T01-dump-restore
-  T02-tag
-"
-
-for test in $TESTS; do
-    ./$test "$@"
+for test in T*.sh; do
+    ./"$test" "$@"
 done