summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJens Rosenboom <j.rosenboom@x-ion.de>2016-06-23 10:51:04 +0200
committerJens Rosenboom <j.rosenboom@x-ion.de>2016-06-28 05:24:48 +0200
commit0196f4676e8dc5d97e73399aed52c30142105538 (patch)
tree604a346d79e2cedb76cab1fa52efa8bbcb6ab29f /tools
parentbaaeec1b63429d48cd1137e33e3e550a14f7838c (diff)
downloadnova-0196f4676e8dc5d97e73399aed52c30142105538.tar.gz
Add ability to select specific tests for py34
For py27 you can simply run specific tests by calling tox -e py27 nova.tests.unit.test_something Add a similiar option for the py34 environment. This will skip the blacklist of tests that would otherwise be ignored for python3. Change-Id: I9bf5901afed4abf592e1aaff2f4820b9e3abc671
Diffstat (limited to 'tools')
-rwxr-xr-xtools/pretty_tox3.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/pretty_tox3.sh b/tools/pretty_tox3.sh
new file mode 100755
index 0000000000..396968111c
--- /dev/null
+++ b/tools/pretty_tox3.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+TESTRARGS=$1
+
+if [ -z "$TESTRARGS" ]; then
+ ostestr --blacklist_file tests-py3.txt
+else
+ ostestr -r "$TESTRARGS"
+fi