Remove code accidentally left for testing ctest fix

This commit is contained in:
dyoungworth 2019-07-11 10:01:26 -07:00
parent 62d7ee9424
commit 35be45d4ce
1 changed files with 2 additions and 2 deletions

View File

@ -335,8 +335,8 @@ def run_simulation_test(basedir, options):
if options.keep_logs == 'NONE' or options.keep_logs == 'FAILED' and res: if options.keep_logs == 'NONE' or options.keep_logs == 'FAILED' and res:
print("Deleting old logs in {}".format(wd)) print("Deleting old logs in {}".format(wd))
traces = get_traces(wd, options.log_format) traces = get_traces(wd, options.log_format)
#for trace in traces: for trace in traces:
# os.remove(trace) os.remove(trace)
if options.keep_simdirs == 'NONE' or options.keep_simdirs == 'FAILED' and res: if options.keep_simdirs == 'NONE' or options.keep_simdirs == 'FAILED' and res:
print("Delete {}".format(os.path.join(wd, 'simfdb'))) print("Delete {}".format(os.path.join(wd, 'simfdb')))
shutil.rmtree(os.path.join(wd, 'simfdb')) shutil.rmtree(os.path.join(wd, 'simfdb'))