oclconform: Join the bindir and executable name when running single tests

Submitted by Tom Stellard on Sept. 22, 2014, 2:54 p.m.

Details

Message ID 1411397679-5536-1-git-send-email-thomas.stellard@amd.com
State New
Headers show

Not browsing as part of any series.

Commit Message

Tom Stellard Sept. 22, 2014, 2:54 p.m.
This fixes running oclconform tests that don't have subtests.
---
 framework/oclconform.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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))