Set default test path for the run_tests script

Change-Id: Id001383f26233c6df1b2fc3b7d125d0b491e0e9a
This commit is contained in:
Federico Ressi 2021-11-03 12:34:11 +01:00
parent dc57230764
commit 5776ac688c

View File

@ -29,7 +29,10 @@ from tools import common # noqa
LOG = common.get_logger(__name__)
OS_TEST_PATH = common.normalize_path(os.environ['OS_TEST_PATH'])
# Root tests dir
OS_TEST_PATH = common.normalize_path(
os.environ.get('OS_TEST_PATH') or
os.path.join(TOP_DIR, 'tobiko', 'tests', 'unit'))
# Output dirs
TOX_REPORT_DIR = common.normalize_path(