Browse Source

Nope, but this might work

msmith-techempower 8 years ago
parent
commit
a459f765ef
1 changed files with 1 additions and 2 deletions
  1. 1 2
      toolset/benchmark/framework_test.py

+ 1 - 2
toolset/benchmark/framework_test.py

@@ -199,7 +199,6 @@ class FrameworkTest:
     logging.info("Running setup module start (cwd=%s)", self.directory)
     logging.info("Running setup module start (cwd=%s)", self.directory)
 
 
     command = 'bash -exc "source %s && source %s.sh"' % (
     command = 'bash -exc "source %s && source %s.sh"' % (
-      self.install_root,
       bash_functions_path,
       bash_functions_path,
       os.path.join(self.troot, self.setup_file))
       os.path.join(self.troot, self.setup_file))
 
 
@@ -241,7 +240,7 @@ class FrameworkTest:
       out.flush()
       out.flush()
 
 
     # Start the setup.sh command
     # Start the setup.sh command
-    p = subprocess.Popen(command,
+    p = subprocess.Popen(["%s/TFBReaper" % self.install_root,command],
           cwd=self.directory,
           cwd=self.directory,
           stdout=subprocess.PIPE,
           stdout=subprocess.PIPE,
           stderr=subprocess.STDOUT)
           stderr=subprocess.STDOUT)