Browse Source

verify Fixed cpoll not rebuilding on test run

Mike Smith 11 years ago
parent
commit
ea2316d60e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cpoll_cppsp/setup.py

+ 1 - 0
cpoll_cppsp/setup.py

@@ -5,6 +5,7 @@ import setup_util
 
 def start(args, logfile, errfile):
   setup_util.replace_text("cpoll_cppsp/www/connectioninfo.H", "\\#define BENCHMARK_DB_HOST \".*\"", "#define BENCHMARK_DB_HOST \"" + args.database_host + "\"")
+  subprocess.check_call("make clean", shell=True, cwd="cpoll_cppsp", stderr=errfile, stdout=logfile)
   subprocess.check_call("make", shell=True, cwd="cpoll_cppsp", stderr=errfile, stdout=logfile)
   subprocess.Popen("./run_application \"$(pwd)\"/www -g g++-4.8 -m /forcedynamic.cppsm", shell=True, cwd="cpoll_cppsp", stderr=errfile, stdout=logfile);
   return 0