diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-14 18:50:57 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-11-14 18:50:57 -0800 |
commit | 2d960553360774771f3a8da7a118a841fc92a513 (patch) | |
tree | b65f8ae893cdde7b2f15442a5659bf6ed18be235 /tools/shared.py | |
parent | dfce473f4e08aa3dc54ce3f5f8a6b4f423b9492e (diff) |
clean up test.ll
Diffstat (limited to 'tools/shared.py')
-rw-r--r-- | tools/shared.py | 1 |
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 |