1
0
forked from GitHub/gf-rgl

Recognise AllXxxAbs as abstract in unittest

This commit is contained in:
Inari Listenmaa
2022-01-19 12:16:02 +08:00
parent a181ab36a4
commit 4af32f3570

View File

@@ -92,7 +92,7 @@ def collect_testcases(testlines):
elif ':' in line:
lang, sentence = stripstrings(line.split(':', 1))
langfile = importfile(linenr, lang)
is_tree = '/abstract/' in langfile
is_tree = ('/abstract/' in langfile) or 'Abs' in langfile
test.append((is_tree, linenr, lang, langfile, sentence))
else:
error(linenr, "Ill-formatted line in test file:", line)