Procházet zdrojové kódy

remove log files before benchmarking.

AOYAMA Kazuharu před 12 roky
rodič
revize
c40a664a37
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      treefrog/setup.py

+ 1 - 1
treefrog/setup.py

@@ -19,7 +19,7 @@ def start(args):
   try:
   try:
     subprocess.check_call("qmake -r CONFIG+=release", shell=True, cwd="treefrog")
     subprocess.check_call("qmake -r CONFIG+=release", shell=True, cwd="treefrog")
     subprocess.check_call("make", shell=True, cwd="treefrog")
     subprocess.check_call("make", shell=True, cwd="treefrog")
-    subprocess.check_call("rm -f ./*.log", shell=True, cwd="treefrog/log")
+    subprocess.check_call("rm -f log/*.log", shell=True, cwd="treefrog")
     subprocess.check_call("treefrog -d " + home + "/FrameworkBenchmarks/treefrog", shell=True)
     subprocess.check_call("treefrog -d " + home + "/FrameworkBenchmarks/treefrog", shell=True)
     return 0
     return 0
   except subprocess.CalledProcessError:
   except subprocess.CalledProcessError: