summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-03-10 18:00:49 -0500
committerGabe Black <gblack@eecs.umich.edu>2007-03-10 18:00:49 -0500
commite98265b7d610ee5c5c2a9b18a81e1ddd2bba3ea0 (patch)
tree3f504b28ef6d12baa0a17e9962fb9a141fb998c9
parent23bcd2654a5e6f7bbf39ecd4d693c9a7bfa4ead0 (diff)
parentbf4dade64af6160422e42c0feb1a5c69236728ae (diff)
downloadgem5-e98265b7d610ee5c5c2a9b18a81e1ddd2bba3ea0.tar.xz
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/newmem
into zizzer.eecs.umich.edu:/.automount/zower/eecshome/m5/newmem-statetrace-test --HG-- extra : convert_revision : fcbc63179c7ca54391d42f83366edcc96d09005b
-rw-r--r--tests/long/70.twolf/test.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/long/70.twolf/test.py b/tests/long/70.twolf/test.py
index 310c0cfc3..65973c1ee 100644
--- a/tests/long/70.twolf/test.py
+++ b/tests/long/70.twolf/test.py
@@ -37,5 +37,11 @@ cwd = root.system.cpu.workload.cwd
#Remove two files who's presence or absence affects execution
sav_file = os.path.join(cwd, workload.input_set + '.sav')
sv2_file = os.path.join(cwd, workload.input_set + '.sv2')
-os.unlink(sav_file)
-os.unlink(sv2_file)
+try:
+ os.unlink(sav_file)
+except:
+ print "Couldn't unlink ", sav_file
+try:
+ os.unlink(sv2_file)
+except:
+ print "Couldn't unlink ", sv2_file