Browse Source

More logging

msmith-techempower 8 years ago
parent
commit
cbbf6a63f9
1 changed files with 4 additions and 0 deletions
  1. 4 0
      toolset/benchmark/benchmarker.py

+ 4 - 0
toolset/benchmark/benchmarker.py

@@ -609,6 +609,10 @@ class Benchmarker:
         except OSError:
         except OSError:
           pass
           pass
         passed_verify = test.verify_urls(verificationPath)
         passed_verify = test.verify_urls(verificationPath)
+        try:
+          subprocess.check_call('sudo rm -rf /tmp/*')
+        except Exception:
+          out.write(header("Error: Could not empty /tmp"))
 
 
         ##########################
         ##########################
         # Benchmark this test
         # Benchmark this test