Skip to content
Snippets Groups Projects
Commit 7debaa23 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

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.
parent fd79f95f
No related branches found
No related tags found
No related merge requests found
...@@ -66,12 +66,12 @@ def get_disabled_test(group_name, test_name): ...@@ -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()
] ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment