aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-11-14 18:50:57 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-11-14 18:50:57 -0800
commit2d960553360774771f3a8da7a118a841fc92a513 (patch)
treeb65f8ae893cdde7b2f15442a5659bf6ed18be235 /tools
parentdfce473f4e08aa3dc54ce3f5f8a6b4f423b9492e (diff)
clean up test.ll
Diffstat (limited to 'tools')
-rw-r--r--tools/shared.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/shared.py b/tools/shared.py
index b2102109..04d0fe57 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -1065,6 +1065,7 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)''' % { 'winfix': '' if not WINDOWS e
test_ll = os.path.join(EMSCRIPTEN_TEMP_DIR, 'test.ll')
Building.llvm_dis(filename, test_ll)
assert os.path.exists(test_ll)
+ try_delete(test_ll)
except Exception, e:
print 'shared.Building.is_bitcode failed to test whether file \'%s\' is a llvm bitcode file! Failed on exception: %s' % (filename, e)
return False