glance/.testr.conf
Joshua Harlow 408672c430 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
2016-11-07 11:09:26 -08:00

9 lines
351 B
Plaintext

[DEFAULT]
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 ./ ${OS_TEST_PATH:-./glance/tests} $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list