|
23 | 23 | from runner import BrowserCore, path_from_root, has_browser, EMTEST_BROWSER, no_fastcomp, no_wasm_backend, create_test_file, parameterized
|
24 | 24 | from tools import system_libs
|
25 | 25 | from tools.shared import PYTHON, EMCC, WINDOWS, FILE_PACKAGER, PIPE, SPIDERMONKEY_ENGINE, JS_ENGINES
|
26 |
| -from tools.shared import try_delete, Building, run_process, run_js |
| 26 | +from tools.shared import try_delete, run_process, run_js |
27 | 27 |
|
28 | 28 | try:
|
29 | 29 | from http.server import BaseHTTPRequestHandler, HTTPServer
|
@@ -209,22 +209,6 @@ def test_emscripten_log(self):
|
209 | 209 | self.compile_btest([src, '--pre-js', path_from_root('src', 'emscripten-source-map.min.js'), '-g4', '-o', 'page.html', '-s', 'DEMANGLE_SUPPORT=1', '-s', 'WASM=0'])
|
210 | 210 | self.run_browser('page.html', None, '/report_result?1')
|
211 | 211 |
|
212 |
| - def build_native_lzma(self): |
213 |
| - lzma_native = path_from_root('third_party', 'lzma.js', 'lzma-native') |
214 |
| - if os.path.isfile(lzma_native) and os.access(lzma_native, os.X_OK): |
215 |
| - return |
216 |
| - |
217 |
| - cwd = os.getcwd() |
218 |
| - try: |
219 |
| - os.chdir(path_from_root('third_party', 'lzma.js')) |
220 |
| - # On Windows prefer using MinGW make if it exists, otherwise fall back to hoping we have cygwin make. |
221 |
| - if WINDOWS and Building.which('mingw32-make'): |
222 |
| - run_process(['doit.bat']) |
223 |
| - else: |
224 |
| - run_process(['sh', './doit.sh']) |
225 |
| - finally: |
226 |
| - os.chdir(cwd) |
227 |
| - |
228 | 212 | def test_preload_file(self):
|
229 | 213 | absolute_src_path = os.path.join(self.get_dir(), 'somefile.txt').replace('\\', '/')
|
230 | 214 | open(absolute_src_path, 'w').write('''load me right before running the code please''')
|
|
0 commit comments