Permalink
Browse files

Add ability to pick specific bt tests to run from commandline

  • Loading branch information...
1 parent 4009fd0 commit 9f49eaa2f5d8931b80cb810ff467a4f4680a2bb8 @oldpatricka oldpatricka committed Sep 27, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 tests/bt-tests.sh
View
@@ -9,10 +9,14 @@ echo "Run tests...."
echo "========================================="
cd $src_dir
+if [ -z "$RUN_TESTS" ] ; then
+ RUN_TESTS=`ls *test.{sh,py}`
+fi
+
cnt="0"
error_cnt="0"
error_ts=""
-for t in *test.{sh,py}
+for t in $RUN_TESTS
do
echo $t
./$t 2>&1 | tee $t.log

0 comments on commit 9f49eaa

Please sign in to comment.