aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2012-01-27 14:50:32 -0500
committerEhsan Akhgari <ehsan.akhgari@gmail.com>2012-01-27 14:50:32 -0500
commitb75ee5317f7365d43b405e31ac7c1925b7a80f6e (patch)
treed7e3fde27de5d6972dadfc68a56c876593a036af
parent8b8f308fd387b4604613f67cf1ce7d30cfe95092 (diff)
Fix the copy-paste mess
-rwxr-xr-xtests/runner.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/runner.py b/tests/runner.py
index b73581f1..9cc03890 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -5548,9 +5548,6 @@ Options that are modified or new in %s include:
assert os.path.exists('combined.bc'), '\n'.join(output)
syms = Building.llvm_nm('combined.bc')
assert len(syms.defs) == 2 and 'main' in syms.defs, 'Failed to generate valid bitcode'
- if target == 'js': # make sure emcc can recognize the target as a bitcode file
- shutil.move(target, target + '.bc')
- target += '.bc'
output = Popen([compiler, 'combined.bc', '-o', 'combined.bc.js'], stdout = PIPE, stderr = PIPE).communicate()
assert len(output[0]) == 0, output[0]
assert os.path.exists('combined.bc.js'), 'Expected %s to exist' % ('combined.bc.js')