Browse Source

45216: We also need to remove files for the test_runner user.

A. Shawn Bandy 8 years ago
parent
commit
2a5728621c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      toolset/benchmark/framework_test.py

+ 2 - 0
toolset/benchmark/framework_test.py

@@ -492,6 +492,8 @@ class FrameworkTest:
         pprint(results)
         pprint(results)
 
 
         self.benchmarker.report_benchmark_results(framework=self, test=test_type, results=results['results'])
         self.benchmarker.report_benchmark_results(framework=self, test=test_type, results=results['results'])
+        rmtmp = "find /tmp -maxdepth 1 -name \"*\" -print0 | xargs -0 sudo -u %s rm" % (self.benchmarker.runner_user)
+        subprocess.Popen(rmtmp);
         out.write( "Complete\n" )
         out.write( "Complete\n" )
         out.flush()
         out.flush()