Browse Source

Add OS_TEST_PATH to testr

Change default test path to unit tests, and support setting
$OS_TEST_PATH to specify a different path (such as functional).

Change-Id: I3c0d597b5e1c43a8cb04ac0fc936e9ad1cdcfbf8
changes/87/150587/1
Joe Gordon 8 years ago
parent
commit
f197c64e05
  1. 2
      .testr.conf

2
.testr.conf

@ -1,4 +1,4 @@
[DEFAULT]
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} ${PYTHON:-python} -m subunit.run discover -t ./ ./ $LISTOPT $IDOPTION
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./novaclient/tests/unit} $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list

Loading…
Cancel
Save