[Piglit] [PATCH 1/3] all.tests: split a plain test name into an array of arguments
Marek Olšák
maraeo at gmail.com
Mon Jan 14 11:17:59 PST 2013
---
tests/all.tests | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/all.tests b/tests/all.tests
index 7053989..2a99fc8 100644
--- a/tests/all.tests
+++ b/tests/all.tests
@@ -37,8 +37,8 @@ def add_single_param_test_set(group, name, *params):
for param in params:
group[name + '-' + param] = PlainExecTest([name, param, '-auto'])
-def add_plain_test(group, name):
- group[name] = PlainExecTest([name, '-auto'])
+def add_plain_test(group, args):
+ group[args] = PlainExecTest(shlex.split(args) + ['-auto'])
def concurrent_test(args):
test = PlainExecTest(shlex.split(args) + ['-auto', '-fbo'])
--
1.7.10.4
More information about the Piglit
mailing list