Fix OS_TEST_PATH in .testr.conf
As of commit 87f772c0bd
the default
value for OS_TEST_PATH as set in .testr.conf is no longer valid.
In addition, because shell variables are evaluated in a
somewhat unintuitive order in situations like this, the default
wasn't being used properly anyway. See link below for an
explanation why:
http://stackoverflow.com/questions/10938483/bash-specifying-environment-variables-for-echo-on-command-line
This commit fixes both problems.
Change-Id: I8eec146a21eab656cb48b9e23a92a9da52246269
This commit is contained in:
parent
2ec4c2c9f8
commit
bec75689e6
@ -2,8 +2,7 @@
|
||||
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
|
||||
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
|
||||
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \
|
||||
OS_TEST_PATH=${OS_TEST_PATH:-./tempest} \
|
||||
${PYTHON:-python} -m subunit.run discover -t ./ $OS_TEST_PATH $LISTOPT $IDOPTION
|
||||
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./tempest/test_discover} $LISTOPT $IDOPTION
|
||||
test_id_option=--load-list $IDFILE
|
||||
test_list_option=--list
|
||||
group_regex=([^\.]*\.)*
|
||||
|
Loading…
Reference in New Issue
Block a user