|
24 | 24 | from common import create_file, parameterized, ensure_dir, disabled, test_file, WEBIDL_BINDER
|
25 | 25 | from common import read_file, EMRUN, no_wasm64, no_2gb, no_4gb, copytree
|
26 | 26 | from common import requires_wasm2js, parameterize, find_browser_test_file, with_all_sjlj
|
27 |
| -from common import also_with_minimal_runtime, also_with_wasm2js, also_with_asan |
| 27 | +from common import also_with_minimal_runtime, also_with_wasm2js, also_with_asan, also_with_wasmfs |
28 | 28 | from tools import shared
|
29 | 29 | from tools import ports
|
30 | 30 | from tools.shared import EMCC, WINDOWS, FILE_PACKAGER, PIPE, DEBUG
|
@@ -77,26 +77,6 @@ def do_GET(s):
|
77 | 77 | httpd.handle_request()
|
78 | 78 |
|
79 | 79 |
|
80 |
| -def also_with_wasmfs(f): |
81 |
| - assert callable(f) |
82 |
| - |
83 |
| - @wraps(f) |
84 |
| - def metafunc(self, wasmfs, *args, **kwargs): |
85 |
| - if DEBUG: |
86 |
| - print('parameterize:wasmfs=%d' % wasmfs) |
87 |
| - if wasmfs: |
88 |
| - self.set_setting('WASMFS') |
89 |
| - self.cflags = self.cflags.copy() + ['-DWASMFS'] |
90 |
| - f(self, *args, **kwargs) |
91 |
| - else: |
92 |
| - f(self, *args, **kwargs) |
93 |
| - |
94 |
| - parameterize(metafunc, {'': (False,), |
95 |
| - 'wasmfs': (True,)}) |
96 |
| - |
97 |
| - return metafunc |
98 |
| - |
99 |
| - |
100 | 80 | def also_with_proxying(f):
|
101 | 81 | assert callable(f)
|
102 | 82 |
|
|
0 commit comments