diff options
author | max99x <max99x@gmail.com> | 2011-08-24 04:32:38 +0300 |
---|---|---|
committer | max99x <max99x@gmail.com> | 2011-08-24 04:32:38 +0300 |
commit | 6c6fbdebae5e5623012dbcb63d16f4b16ab521f2 (patch) | |
tree | e157da0367db3a5d5624d181dda7157092e2c567 /tests | |
parent | 2ea581f293392aebdfb1edbbba895c28462b8443 (diff) | |
parent | cfcf669f7d0239e052ba2387eee94a64912e9f09 (diff) |
Merge branch 'master' of github.com:max99x/emscripten
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runner.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index 77aa0d4f..17403146 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -3786,6 +3786,15 @@ TT = %s del T # T is just a shape for the specific subclasses, we don't test it itself + class OtherTests(RunnerCore): + def test_eliminator(self): + coffee = path_from_root('tools', 'eliminator', 'node_modules', 'coffee-script', 'bin', 'coffee') + eliminator = path_from_root('tools', 'eliminator', 'eliminator.coffee') + input = open(path_from_root('tools', 'eliminator', 'eliminator-test.js')).read() + expected = open(path_from_root('tools', 'eliminator', 'eliminator-test-output.js')).read() + output = Popen([coffee, eliminator], stdin=PIPE, stdout=PIPE, stderr=PIPE).communicate(input)[0] + self.assertEquals(output, expected) + else: # Benchmarks |