Split tests into primitives
This ensures separate errors for separate common files
This commit is contained in:
parent
f4607265c6
commit
5d600a2543
@ -12,6 +12,10 @@ import helpers
|
|||||||
def test_common():
|
def test_common():
|
||||||
for d in os.listdir('common'):
|
for d in os.listdir('common'):
|
||||||
primitive = re.sub(r"\.c$", "", d)
|
primitive = re.sub(r"\.c$", "", d)
|
||||||
|
yield check_common, primitive
|
||||||
|
|
||||||
|
|
||||||
|
def check_common(primitive):
|
||||||
binname = os.path.join('..', 'bin', 'test_'+primitive)
|
binname = os.path.join('..', 'bin', 'test_'+primitive)
|
||||||
helpers.make(binname)
|
helpers.make(binname)
|
||||||
helpers.run_subprocess([binname])
|
helpers.run_subprocess([binname])
|
||||||
|
Loading…
Reference in New Issue
Block a user