Skip to content

Commit 3c5bf33

Browse files
committed
retag everything when we do
1 parent 921187b commit 3c5bf33

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,15 @@ def fun():
135135
testmod = "test." + testfile_stem
136136
cmd = [timeout, "-s", "9", "60"] + executable + ["-S", "-m"]
137137
tagfile = os.path.join(TAGS_DIR, testfile_stem + ".txt")
138-
test_selectors = working_selectors(tagfile)
138+
if retag:
139+
test_selectors = []
140+
else:
141+
test_selectors = working_selectors(tagfile)
139142

140143
if test_selectors is None:
141-
if retag:
142-
test_selectors = []
143-
else:
144-
# there's no tagfile for this, so it's not working at all
145-
# (or has not been tried).
146-
continue
144+
# there's no tagfile for this, so it's not working at all (or
145+
# shouldn't be tried).
146+
continue
147147

148148
print("[%d/%d, Try %d] Testing %s" %(idx + 1, len(testfiles), repeat + 1, testmod))
149149
cmd += ["unittest", "-v"]

0 commit comments

Comments
 (0)