diff options
author | Julie Pichon <jpichon@redhat.com> | 2014-06-24 16:53:27 +0100 |
---|---|---|
committer | Julie Pichon <jpichon@redhat.com> | 2014-06-24 16:55:19 +0100 |
commit | 84bff9724d376012e78ca57d445f4497934bace3 (patch) | |
tree | 7f524c20b1a5996b739303750dcbf8a1589cb6fe /run_tests.sh | |
parent | 8d54a24ecdaeb2ced121aa232a2d1eb62efd81f3 (diff) | |
download | horizon-84bff9724d376012e78ca57d445f4497934bace3.tar.gz |
Allow running a subset of the integration tests
This follows the same syntax as a running a subset of the unit tests.
Change-Id: I36dfa8280b8fc63e7b650dfce6dbb0df26e73852
Closes-Bug: #1333774
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-x | run_tests.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/run_tests.sh b/run_tests.sh index 2f55dc84e..2c8dffc19 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -362,7 +362,11 @@ function run_integration_tests { export INTEGRATION_TESTS=1 echo "Running Horizon integration tests..." - ${command_wrapper} nosetests openstack_dashboard/test/integration_tests/tests + if [ -z "$testargs" ]; then + ${command_wrapper} nosetests openstack_dashboard/test/integration_tests/tests + else + ${command_wrapper} nosetests $testargs + fi exit 0 } |