From c604876528588fb3f452de7258324e90da8ac202 Mon Sep 17 00:00:00 2001 From: Sergey Kraynev Date: Tue, 5 May 2015 10:53:27 -0400 Subject: [PATCH] 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). Partial-Bug: #1446442 Change-Id: I20461e1867f2c6e1e1432ab79fced82e8c0b4cc9 --- .testr.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.testr.conf b/.testr.conf index a2ff14b2..6e77f6be 100644 --- a/.testr.conf +++ b/.testr.conf @@ -1,4 +1,4 @@ [DEFAULT] -test_command=${PYTHON:-python} -m subunit.run discover -t ./ . $LISTOPT $IDOPTION +test_command=${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./heatclient/tests/unit} $LISTOPT $IDOPTION test_id_option=--load-list $IDFILE test_list_option=--list