Discover only tests in tests folder.
This is to prevent python 3 unittest2 failing to load all modules when libvirt is not installed. Partial-Bug: #1617432 Change-Id: I37d8d21d4cd0bda099ea08b8b2f807e006edcab8
This commit is contained in:
parent
595b58ae0e
commit
3f5320f43b
@ -2,6 +2,6 @@
|
||||
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
|
||||
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
|
||||
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
|
||||
${PYTHON:-python} -m subunit.run discover -t ./ . $LISTOPT $IDOPTION
|
||||
${PYTHON:-python} -m subunit.run discover -t ./ . -s collectd_ceilometer.tests $LISTOPT $IDOPTION
|
||||
test_id_option=--load-list $IDFILE
|
||||
test_list_option=--list
|
||||
|
Loading…
x
Reference in New Issue
Block a user