[Piglit] [PATCH] oclconform: Join the bindir and executable name when running single tests

Tom Stellard thomas.stellard at amd.com
Mon Sep 22 07:54:39 PDT 2014


This fixes running oclconform tests that don't have subtests.
---
 framework/oclconform.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/oclconform.py b/framework/oclconform.py
index 91a9e43..01e10d9 100644
--- a/framework/oclconform.py
+++ b/framework/oclconform.py
@@ -87,6 +87,6 @@ def add_oclconform_tests(profile):
 			                run_concurrent=should_run_concurrent))
         else:
             run_test = PIGLIT_CONFIG.get(test_section_name, 'run_test')
-            add_test(profile, test_name, OCLConform(command=run_test,
+            add_test(profile, test_name, OCLConform(command=join(bindir, run_test),
 	                                            run_concurrent=should_run_concurrent))
 
-- 
1.8.5.5



More information about the Piglit mailing list