@@ -5708,7 +5708,6 @@ def test_istream(self):
57085708
57095709 def test_fs_base (self ):
57105710 self .set_setting ('DEFAULT_LIBRARY_FUNCS_TO_INCLUDE' , ['$FS' ])
5711- self .uses_es6 = True
57125711 self .add_pre_run (read_file (test_file ('filesystem/src.js' )))
57135712 src = 'int main() {return 0;}\n '
57145713 expected = read_file (test_file ('filesystem/output.txt' ))
@@ -5718,10 +5717,6 @@ def test_fs_base(self):
57185717 @is_slow_test
57195718 @requires_node
57205719 def test_fs_nodefs_rw (self ):
5721- # TODO(sbc): This test exposes in issue in the way we run closure compiler and
5722- # causes it to generate non-ES5 output.
5723- # Remove this line once we fix: https://github.com/emscripten-core/emscripten/issues/12628
5724- self .uses_es6 = True
57255720 self .emcc_args += ['-lnodefs.js' ]
57265721 self .set_setting ('SYSCALL_DEBUG' )
57275722 self .do_runf ('fs/test_nodefs_rw.c' , 'success' )
@@ -5811,7 +5806,6 @@ def test_fs_append(self):
58115806 'wasmfs' : ['WASMFS' ]
58125807 })
58135808 def test_fs_mmap (self , fs ):
5814- self .uses_es6 = True
58155809 if fs == 'NODEFS' :
58165810 self .require_node ()
58175811 self .emcc_args += ['-lnodefs.js' ]
@@ -5922,7 +5916,6 @@ def test_sigaction_default(self, signal, exit_code, assert_identical):
59225916 'noderawfs' : (['-DNODERAWFS' , '-sNODERAWFS' ],)
59235917 })
59245918 def test_unistd_access (self , args ):
5925- self .uses_es6 = True
59265919 self .emcc_args += args
59275920 if self .get_setting ('WASMFS' ):
59285921 if '-DNODEFS' in args or '-DNODERAWFS' in args :
@@ -5936,7 +5929,6 @@ def test_unistd_access(self, args):
59365929 self .do_run_in_out_file_test ('unistd/access.c' )
59375930
59385931 def test_unistd_curdir (self ):
5939- self .uses_es6 = True
59405932 if self .get_setting ('WASMFS' ):
59415933 self .set_setting ('FORCE_FILESYSTEM' )
59425934 self .do_run_in_out_file_test ('unistd/curdir.c' )
@@ -5961,7 +5953,6 @@ def test_unistd_dup(self):
59615953 'nodefs' : (['NODEFS' ])
59625954 })
59635955 def test_unistd_truncate (self , fs ):
5964- self .uses_es6 = True
59655956 orig_compiler_opts = self .emcc_args .copy ()
59665957 self .emcc_args = orig_compiler_opts + ['-D' + fs ]
59675958 if self .get_setting ('WASMFS' ):
@@ -5977,7 +5968,6 @@ def test_unistd_truncate(self, fs):
59775968 @unittest .skipIf (WINDOWS or os .geteuid () == 0 , "Root access invalidates this test by being able to write on readonly files" )
59785969 @requires_node
59795970 def test_unistd_truncate_noderawfs (self ):
5980- self .uses_es6 = True
59815971 self .set_setting ('NODERAWFS' )
59825972 self .maybe_closure ()
59835973 self .do_run_in_out_file_test ('unistd/truncate.c' )
@@ -7640,7 +7630,6 @@ def test_embind_no_rtti_followed_by_rtti(self):
76407630 'all_growth' : ('ALL' , True ),
76417631 })
76427632 def test_webidl (self , mode , allow_memory_growth ):
7643- self .uses_es6 = True
76447633 self .set_setting ('WASM_ASYNC_COMPILATION' , 0 )
76457634 if self .maybe_closure ():
76467635 # avoid closure minified names competing with our test code in the global name space
@@ -9538,7 +9527,6 @@ def test_emscripten_async_call(self):
95389527 'no_dynamic_execution' : (['-sDYNAMIC_EXECUTION=0' ],)
95399528 })
95409529 def test_embind_lib_with_asyncify (self , args ):
9541- self .uses_es6 = True
95429530 self .emcc_args += [
95439531 '-lembind' ,
95449532 '-sASYNCIFY' ,
@@ -9552,7 +9540,6 @@ def test_embind_lib_with_asyncify(self, args):
95529540 @no_asan ('asyncify stack operations confuse asan' )
95539541 @with_asyncify_and_jspi
95549542 def test_em_async_js (self ):
9555- self .uses_es6 = True
95569543 if not self .get_setting ('ASYNCIFY' ):
95579544 self .set_setting ('ASYNCIFY' )
95589545 self .set_setting ('EXPORTED_RUNTIME_METHODS' , 'ccall' )
0 commit comments