瀏覽代碼

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

A. Shawn Bandy 9 年之前
父節點
當前提交
2a5728621c
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      toolset/benchmark/framework_test.py

+ 2 - 0
toolset/benchmark/framework_test.py

@@ -492,6 +492,8 @@ class FrameworkTest:
         pprint(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.flush()