Browse files

test runner: add $TEST_RUNNER_ARGS env. variable

This allows you to export TEST_RUNNER_ARGS=-v0 to affect all 9
invocations
  • Loading branch information...
1 parent b4a3176 commit fe84debe18f76ceb88f837a463eebe47eabea85e @acdha acdha committed Dec 11, 2012
Showing with 9 additions and 9 deletions.
  1. +9 −9 tests/run_all_tests.sh
View
18 tests/run_all_tests.sh
@@ -16,37 +16,37 @@ else
fi
echo "** CORE **"
-$TEST_RUNNER test core --settings=settings
+$TEST_RUNNER test core --settings=settings $TEST_RUNNER_ARGS
echo ""
echo "** DISCOVERY **"
-$TEST_RUNNER test discovery --settings=discovery_settings
+$TEST_RUNNER test discovery --settings=discovery_settings $TEST_RUNNER_ARGS
echo ""
echo "** OVERRIDES **"
-$TEST_RUNNER test overrides --settings=overrides_settings
+$TEST_RUNNER test overrides --settings=overrides_settings $TEST_RUNNER_ARGS
echo ""
echo "** SIMPLE **"
-$TEST_RUNNER test simple_tests --settings=simple_settings
+$TEST_RUNNER test simple_tests --settings=simple_settings $TEST_RUNNER_ARGS
echo ""
echo "** SOLR **"
-$TEST_RUNNER test solr_tests --settings=solr_settings
+$TEST_RUNNER test solr_tests --settings=solr_settings $TEST_RUNNER_ARGS
echo ""
echo "** Elasticsearch **"
-$TEST_RUNNER test elasticsearch_tests --settings=elasticsearch_settings
+$TEST_RUNNER test elasticsearch_tests --settings=elasticsearch_settings $TEST_RUNNER_ARGS
echo ""
echo "** WHOOSH **"
-$TEST_RUNNER test whoosh_tests --settings=whoosh_settings
+$TEST_RUNNER test whoosh_tests --settings=whoosh_settings $TEST_RUNNER_ARGS
echo ""
echo "** MULTIPLE INDEX **"
-$TEST_RUNNER test multipleindex --settings=multipleindex_settings
+$TEST_RUNNER test multipleindex --settings=multipleindex_settings $TEST_RUNNER_ARGS
echo ""
echo "** SPATIAL **"
-$TEST_RUNNER test spatial --settings=spatial_settings
+$TEST_RUNNER test spatial --settings=spatial_settings $TEST_RUNNER_ARGS
echo ""

0 comments on commit fe84deb

Please sign in to comment.