From 2ed128014898c357063427e9347124835ff5384c Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Thu, 16 Mar 2023 15:29:18 +0100 Subject: [PATCH] [CI] Set the default OS_TEST_PATH in the stestr conf file Set the default OS_TEST_PATH in the stestr configuration file. Any other test environment can overwrite this variable in the "setenv" section. Change-Id: I51564920cec916031aaebf8151b015a3d87e9471 --- .stestr.conf | 2 +- tox.ini | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.stestr.conf b/.stestr.conf index fef4726f..d39e3c13 100644 --- a/.stestr.conf +++ b/.stestr.conf @@ -1,4 +1,4 @@ [DEFAULT] -test_path=${OS_TEST_PATH} +test_path=${OS_TEST_PATH:-./ovsdbapp/tests/unit} top_dir=./ group_regex=([^\.]+\.)+ diff --git a/tox.ini b/tox.ini index 8af237a6..15106a17 100644 --- a/tox.ini +++ b/tox.ini @@ -9,7 +9,6 @@ usedevelop = True setenv = VIRTUAL_ENV={envdir} PYTHONWARNINGS=default::DeprecationWarning - OS_TEST_PATH=./ovsdbapp/tests/unit OS_LOG_CAPTURE={env:OS_LOG_CAPTURE:true} OS_STDOUT_CAPTURE={env:OS_STDOUT_CAPTURE:true} OS_STDERR_CAPTURE={env:OS_STDERR_CAPTURE:true}