Remove the output file after testing

This commit is contained in:
Cheng Zhao 2016-04-30 17:52:53 +09:00
parent b68a25835f
commit 2a55d93501

View file

@ -4,7 +4,7 @@ import os
import subprocess
import sys
from lib.util import atom_gyp
from lib.util import atom_gyp, rm_rf
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
@ -40,6 +40,8 @@ def main():
output_to_file = os.environ['OUTPUT_TO_FILE']
with open(output_to_file, 'r') as f:
print f.read()
rm_rf(output_to_file)
return returncode