[Piglit] [PATCH 2/5] all.tests: Fix arg parsing in concurrent_test()
Chad Versace
chad.versace at linux.intel.com
Thu Nov 29 18:32:06 PST 2012
Replace args.split() with shlex.split(args), because args.split() may
accidentally split too much.
Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
---
tests/all.tests | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/all.tests b/tests/all.tests
index 6d3ddcd..0cfdc65 100644
--- a/tests/all.tests
+++ b/tests/all.tests
@@ -40,7 +40,7 @@ def add_plain_test(group, name):
group[name] = PlainExecTest([name, '-auto'])
def concurrent_test(args):
- test = PlainExecTest(args.split() + ['-auto', '-fbo'])
+ test = PlainExecTest(shlex.split(args) + ['-auto', '-fbo'])
test.runConcurrent = True
return test
--
1.7.11.7
More information about the Piglit
mailing list