diff options
author | Jez Ng <me@jezng.com> | 2013-06-20 14:39:42 -0700 |
---|---|---|
committer | Jez Ng <me@jezng.com> | 2013-06-22 01:23:14 -0700 |
commit | cfe4eb5b4f1dd020276a2bd7a4886e172e76b48b (patch) | |
tree | ae44d9cc7210dbcee87e91721bb8d09e2ef4db88 /tests | |
parent | 486413cf381e903fae1b6db9c473cfec3b5c5ab7 (diff) |
Source maps should only be activated via the `--map` flag.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py index 1697294d..156e2bda 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -9586,7 +9586,7 @@ def process(filename): def test_source_map(self): if Settings.USE_TYPED_ARRAYS != 2: return self.skip("doesn't pass without typed arrays") - if '-g' not in Building.COMPILER_TEST_OPTS: Building.COMPILER_TEST_OPTS.append('-g') + if '--map' not in Building.COMPILER_TEST_OPTS: Building.COMPILER_TEST_OPTS.append('--map') src = ''' #include <stdio.h> @@ -11754,7 +11754,7 @@ elif 'browser' in str(sys.argv): return 0; } ''') - Popen([PYTHON, EMCC, cpp_file, '-o', html_file, '-g']).communicate() + Popen([PYTHON, EMCC, cpp_file, '-o', html_file, '--map']).communicate() webbrowser.open_new('file://' + html_file) print ''' Set the debugger to pause on exceptions |