[Piglit] [PATCH 5/7] Move asmparsertests to a separate ThreadPool group.
U. Artie Eoff
ullysses.a.eoff at intel.com
Mon Feb 7 18:54:59 PST 2011
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).
---
tests/all.tests | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/all.tests b/tests/all.tests
index f2b0f81..c817dc0 100644
--- a/tests/all.tests
+++ b/tests/all.tests
@@ -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:
--
1.7.3.4
More information about the Piglit
mailing list