Commit ccdef312 authored by U. Artie Eoff's avatar U. Artie Eoff Committed by Chad Versace
Browse files

Move asmparsertests to a separate ThreadPool group.

Move asmparsertests to a separate ThreadPool group named
'gpu-not-used'.  This ThreadPool is created with 2 worker threads
by default.
This change makes the asmparsertests execute concurrently with all
other tests that are allocated in another ThreadPool (currently
everything else).
parent b1b56d97
......@@ -1168,7 +1168,9 @@ for filename in os.listdir('tests/glslparsertest/glsl2'):
asmparsertest = Group()
def add_asmparsertest(group, shader):
asmparsertest[group + '/' + shader] = PlainExecTest(['asmparsertest', '-auto', group, 'tests/asmparsertest/shaders/' + group + '/' + shader])
test = PlainExecTest(['asmparsertest', '-auto', group, 'tests/asmparsertest/shaders/' + group + '/' + shader])
test.poolName = "gpu-not-used"
asmparsertest[group + '/' + shader] = test
add_asmparsertest('ARBfp1.0', 'abs-01.txt')
add_asmparsertest('ARBfp1.0', 'abs-02.txt')
......@@ -1618,7 +1620,7 @@ profile.tests['glx'] = glx
class ValgrindExecTest(PlainExecTest):
def __init__(self, test):
Test.__init__(self)
Test.__init__(self, test.poolName)
self.orig_test = test
self.env = {}
if 'PIGLIT_TEST' in test.env:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment