From 2fa7e1ec3630766e6e4417b6d2eda28f9abd446b Mon Sep 17 00:00:00 2001 From: John Griffith Date: Fri, 6 Mar 2015 11:13:18 -0700 Subject: [PATCH] Add ability to specify path var to testr This keeps cinderclient/tests as the default test dir, but it adds the ability to set specific paths via the OS_TEST_PATH var, this way we can call on unit vs functional tests (once the functional tests are in place of course). Change-Id: Icdc703e4054af6d22f5886581efed07319ec0247 --- .testr.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.testr.conf b/.testr.conf index f5be871ff..024026b49 100644 --- a/.testr.conf +++ b/.testr.conf @@ -1,4 +1,4 @@ [DEFAULT] -test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ./cinderclient/tests $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:-./cinderclient/tests} $LISTOPT $IDOPTION test_id_option=--load-list $IDFILE test_list_option=--list