upstream CI: Fix list evaluation in IPA_ENABLED/IPA_DISABLED tests

When enabling or disabling multiple tests, a comma separated list must
be used, but current code is using a colon to split the list.

This patch fixes this behavior.
This commit is contained in:
Rafael Guterres Jeffman
2022-08-25 13:06:10 -03:00
parent fd79f95f9b
commit 7debaa23ac

View File

@@ -66,12 +66,12 @@ def get_disabled_test(group_name, test_name):
def get_enabled_test(group_name, test_name):
enabled_modules = [
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()
]
enabled_tests = [
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()
]