aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/shared.py')
-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