aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2013-01-14 19:35:16 +0100
committerMarek Olšák <maraeo@gmail.com>2013-01-18 16:42:06 +0100
commit24fb39998bfb664d128b4142616b2034253f05e6 (patch)
tree93e656687a3f23feda9618b11a73eaebdc9bf21a
parent234d67c4cb0674bfa364f36e58ef8faa8bd01b18 (diff)
downloadpiglit-24fb39998bfb664d128b4142616b2034253f05e6.tar.gz
all.tests: split a plain test name into an array of arguments
-rw-r--r--tests/all.tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/all.tests b/tests/all.tests
index d0f29beb..ae572159 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'])