From 408672c430e9108f351877981dade617c5e3156e Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Mon, 7 Nov 2016 11:08:17 -0800 Subject: [PATCH] Allow specifying OS_TEST_PATH (to reduce tests ran) All the other main openstack projects support this and I am trying to provide it for usage in our jenkins so that our jenkins only runs the unit tests. Setting this up in jenkins hit a snag though because it appears that glance doesn't support OS_TEST_PATH (this change allows it to). Change-Id: I602c78dc6ef882a00592261aaf39a77215c31226 --- .testr.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.testr.conf b/.testr.conf index cf71b487b4..b3a5d372ad 100644 --- a/.testr.conf +++ b/.testr.conf @@ -2,7 +2,7 @@ test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \ - ${PYTHON:-python} -m subunit.run discover -t ./ ./glance/tests $LISTOPT $IDOPTION + ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./glance/tests} $LISTOPT $IDOPTION test_id_option=--load-list $IDFILE test_list_option=--list