Commit 514ae032 authored by Jérome Perrin's avatar Jérome Perrin

testing/testcase: ignore empty paths from $SLAPOS_TEST_SHARED_PART_LIST

Empty paths confuse the ldd check, because empty prefix always look
valid, so executables using system libraries will be considered as
valid.
parent abce5180
...@@ -64,7 +64,7 @@ def makeModuleSetUpAndTestCaseClass( ...@@ -64,7 +64,7 @@ def makeModuleSetUpAndTestCaseClass(
verbose=bool(int(os.environ.get('SLAPOS_TEST_VERBOSE', 0))), verbose=bool(int(os.environ.get('SLAPOS_TEST_VERBOSE', 0))),
shared_part_list=[ shared_part_list=[
os.path.expanduser(p) for p in os.environ.get( os.path.expanduser(p) for p in os.environ.get(
'SLAPOS_TEST_SHARED_PART_LIST', '').split(os.pathsep) 'SLAPOS_TEST_SHARED_PART_LIST', '').split(os.pathsep) if p
], ],
snapshot_directory=os.environ.get('SLAPOS_TEST_LOG_DIRECTORY'), snapshot_directory=os.environ.get('SLAPOS_TEST_LOG_DIRECTORY'),
): ):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment