Allow specifying OS_TEST_PATH (to reduce tests ran)
All the other main openstack projects support this and I am trying to provide it for usage in our jenkins so that our jenkins only runs the unit tests. Setting this up in jenkins hit a snag though because it appears that glance doesn't support OS_TEST_PATH (this change allows it to). Change-Id: I602c78dc6ef882a00592261aaf39a77215c31226
This commit is contained in:
parent
f72d9556b4
commit
408672c430
@ -2,7 +2,7 @@
|
||||
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
|
||||
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
|
||||
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
|
||||
${PYTHON:-python} -m subunit.run discover -t ./ ./glance/tests $LISTOPT $IDOPTION
|
||||
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./glance/tests} $LISTOPT $IDOPTION
|
||||
|
||||
test_id_option=--load-list $IDFILE
|
||||
test_list_option=--list
|
||||
|
Loading…
Reference in New Issue
Block a user