Remove the output file after testing
This commit is contained in:
parent
b68a25835f
commit
2a55d93501
1 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,7 @@ import os
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
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__)))
|
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']
|
output_to_file = os.environ['OUTPUT_TO_FILE']
|
||||||
with open(output_to_file, 'r') as f:
|
with open(output_to_file, 'r') as f:
|
||||||
print f.read()
|
print f.read()
|
||||||
|
rm_rf(output_to_file)
|
||||||
|
|
||||||
|
|
||||||
return returncode
|
return returncode
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue