Merge pull request #890 from rjeffman/fix_disable_test_split

upstream CI: Fix list evaluation in IPA_ENABLED/IPA_DISABLED tests
This commit is contained in:
Thomas Woerner
2022-08-29 15:35:17 +02:00
committed by GitHub

View File

@@ -66,12 +66,12 @@ def get_disabled_test(group_name, test_name):
def get_enabled_test(group_name, test_name): def get_enabled_test(group_name, test_name):
enabled_modules = [ enabled_modules = [
enabled.strip() enabled.strip()
for enabled in os.environ.get("IPA_ENABLED_MODULES", "").split(":") for enabled in os.environ.get("IPA_ENABLED_MODULES", "").split(",")
if enabled.strip() if enabled.strip()
] ]
enabled_tests = [ enabled_tests = [
enabled.strip() enabled.strip()
for enabled in os.environ.get("IPA_ENABLED_TESTS", "").split(":") for enabled in os.environ.get("IPA_ENABLED_TESTS", "").split(",")
if enabled.strip() if enabled.strip()
] ]