sahara-tests/sahara_tests/scenario/testr.conf
Luigi Toscano 88269b5d56 Run the tests inside the test directory
This change allows the test runner to be executed everywhere without
having a .testr.conf file. A copy of .testr.conf file (which is now
properly released and installed) is copied to the test directory, which
is now used as working directory for the ostestr call.
The path to the directory where the execution has been started is now
passed to the test template, so that the code can write there data like
the test reports, the key (if the resources are kept), etc.

Change-Id: I16ddba2ad6e26381ffc4b447666f38f2a7740ecb
2016-04-19 12:34:57 +02:00

9 lines
355 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:-60} \
${PYTHON:-python} -m subunit.run discover $DISCOVER_DIRECTORY $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list
group_regex=([^\.]+\.)+