Skip to content

Commit 8d7ec06

Browse files
committed
test_tagged_unittests.py: fix selection of tagged unittests
1 parent 1db80fd commit 8d7ec06

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

graalpython/com.oracle.graal.python.test/src/tests/test_tagged_unittests.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,11 @@ class TestTaggedUnittests(unittest.TestCase):
144144
working_tests = working_tests[selected::total]
145145
else:
146146
selection = set(s.strip() for s in selection.split(","))
147-
working_tests = [x for x in working_tests if x in selection]
147+
working_tests = [x for x in working_tests if x[0] in selection]
148+
print("-----------------------------------------------------------------------------------------------------------")
149+
print("working tests: ")
150+
print([x[0] for x in working_tests])
151+
print("-----------------------------------------------------------------------------------------------------------")
148152

149153
for idx, working_test in enumerate(working_tests):
150154
fn = make_test_function(working_test)

0 commit comments

Comments
 (0)