Skip to content
Snippets Groups Projects
Commit 7dd1f90f authored by Jakub Ružička's avatar Jakub Ružička
Browse files

Merge branch 'test-dep-fix' into 'master'

test-dep: fix parsing of test deps

See merge request !132
parents 4dedb666 1093e6e0
No related branches found
No related tags found
1 merge request!132test-dep: fix parsing of test deps
Pipeline #103550 passed
......@@ -72,10 +72,9 @@ def parse_test_config(test_text):
if deps_text:
deps = re.split(r'[\s\n]*,[\s\n]*', deps_text.strip())
if '@' in deps:
# @ means "all packages built from source package"
# this is implicit with apkg tests
deps.remove('@')
# @ means "all packages built from source package"
# this is implicit with apkg tests
deps = [d for d in deps if d and d != '@']
if restrictions_text:
restrictions = re.split(r'[\s\n]+', restrictions_text.strip())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment