diff options
| author | Monty Taylor <mordred@inaugust.com> | 2013-02-03 12:46:07 +1100 |
|---|---|---|
| committer | Monty Taylor <mordred@inaugust.com> | 2013-02-03 12:46:07 +1100 |
| commit | 4a110136c552dc3655ef9fbd9c8abab7b348b2bd (patch) | |
| tree | deee5dd414a1ea473023568a962de717ccd680c3 | |
| parent | dfd3658c1767862f5610c2e430b1c0c81f168f39 (diff) | |
| download | nova-4a110136c552dc3655ef9fbd9c8abab7b348b2bd.tar.gz nova-4a110136c552dc3655ef9fbd9c8abab7b348b2bd.tar.xz nova-4a110136c552dc3655ef9fbd9c8abab7b348b2bd.zip | |
Parse testr output through subunit2pyunit.
When running through run_tests.sh, filter the testr output through
subunit2pyunit so that incremental progress can be seen. Should be
a step towards folks seeing incremental test progress.
Change-Id: Ic90669acabaa1c8b64aae80349bff3d3deaf59fa
| -rwxr-xr-x | run_tests.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/run_tests.sh b/run_tests.sh index 3bf996fa2..05e762aaf 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -91,9 +91,9 @@ function run_tests { # Just run the test suites in current environment set +e testrargs=`echo "$testrargs" | sed -e's/^\s*\(.*\)\s*$/\1/'` - TESTRTESTS="$TESTRTESTS --testr-args='$testropts $testrargs'" + TESTRTESTS="$TESTRTESTS --testr-args='--subunit $testropts $testrargs'" echo "Running \`${wrapper} $TESTRTESTS\`" - bash -c "${wrapper} $TESTRTESTS" + bash -c "${wrapper} $TESTRTESTS | subunit2pyunit" RESULT=$? set -e |
