From ca52c272bbb5ef6d9ed3d5c795c8aca4b17bb242 Mon Sep 17 00:00:00 2001 From: Kyle Mestery Date: Fri, 6 Mar 2015 22:19:15 +0000 Subject: [PATCH] Add OS_TEST_PATH to testr Change default test path to unit tets, and support setting $OS_TEST_PATH to specify a different path (such as functional). Change-Id: Id58351f02e79b35990719ea1698a2fd2169a9cf6 Partial-Bug: #1429289 --- .testr.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.testr.conf b/.testr.conf index d152a5aa9..01dee7036 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 ./ . $LISTOPT $IDOPTION +test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./neutronclient/tests/unit} $LISTOPT $IDOPTION test_id_option=--load-list $IDFILE test_list_option=--list