@@ -1858,7 +1858,6 @@ def test_inlinejs3(self):
1858
1858
if self .is_wasm ():
1859
1859
self .skipTest ('wasm requires a proper asm module' )
1860
1860
1861
- self .emcc_args .append ('-Wno-almost-asm' )
1862
1861
src = path_from_root ('tests' , 'core' , 'test_inlinejs3.c' )
1863
1862
output = shared .unsuffixed (src ) + '.out'
1864
1863
@@ -1971,7 +1970,7 @@ def test_minimal_runtime_memorygrowth(self):
1971
1970
expect_fail = True
1972
1971
self .do_run (src , 'OOM' , assert_returncode = NON_ZERO if expect_fail else 0 )
1973
1972
# Win with it
1974
- self .emcc_args += ['-Wno-almost-asm' , '- s' , 'ALLOW_MEMORY_GROWTH' ]
1973
+ self .emcc_args += ['-s' , 'ALLOW_MEMORY_GROWTH' ]
1975
1974
self .do_run (src , '*pre: hello,4.955*\n *hello,4.955*\n *hello,4.955*' )
1976
1975
1977
1976
def test_memorygrowth (self ):
@@ -1989,7 +1988,7 @@ def test_memorygrowth(self):
1989
1988
fail = open ('src.js' ).read ()
1990
1989
1991
1990
# Win with it
1992
- self .emcc_args += ['-Wno-almost-asm' , '- s' , 'ALLOW_MEMORY_GROWTH' ]
1991
+ self .emcc_args += ['-s' , 'ALLOW_MEMORY_GROWTH' ]
1993
1992
self .do_run (src , '*pre: hello,4.955*\n *hello,4.955*\n *hello,4.955*' )
1994
1993
win = open ('src.js' ).read ()
1995
1994
@@ -2025,7 +2024,7 @@ def test_memorygrowth_2(self):
2025
2024
fail = open ('src.js' ).read ()
2026
2025
2027
2026
# Win with it
2028
- self .emcc_args += ['-Wno-almost-asm' , '- s' , 'ALLOW_MEMORY_GROWTH' ]
2027
+ self .emcc_args += ['-s' , 'ALLOW_MEMORY_GROWTH' ]
2029
2028
self .do_run (src , '*pre: hello,4.955*\n *hello,4.955*\n *hello,4.955*' )
2030
2029
win = open ('src.js' ).read ()
2031
2030
@@ -2075,7 +2074,7 @@ def test_memorygrowth_3_force_fail_reallocBuffer(self):
2075
2074
if self .has_changed_setting ('ALLOW_MEMORY_GROWTH' ):
2076
2075
self .skipTest ('test needs to modify memory growth' )
2077
2076
2078
- self .emcc_args += ['-Wno-almost-asm' , '- s' , 'ALLOW_MEMORY_GROWTH=1' , '-s' , 'TEST_MEMORY_GROWTH_FAILS=1' ]
2077
+ self .emcc_args += ['-s' , 'ALLOW_MEMORY_GROWTH=1' , '-s' , 'TEST_MEMORY_GROWTH_FAILS=1' ]
2079
2078
self .do_run_in_out_file_test ('tests' , 'core' , 'test_memorygrowth_3.c' )
2080
2079
2081
2080
@parameterized ({
@@ -2086,7 +2085,7 @@ def test_memorygrowth_3_force_fail_reallocBuffer(self):
2086
2085
def test_aborting_new (self , args ):
2087
2086
# test that C++ new properly errors if we fail to malloc when growth is
2088
2087
# enabled, with or without growth
2089
- self .emcc_args += ['-Wno-almost-asm' , '- s' , 'MAXIMUM_MEMORY=18MB' ] + args
2088
+ self .emcc_args += ['-s' , 'MAXIMUM_MEMORY=18MB' ] + args
2090
2089
self .do_run_in_out_file_test ('tests' , 'core' , 'test_aborting_new.cpp' )
2091
2090
2092
2091
@no_wasm2js ('no WebAssembly.Memory()' )
@@ -4837,7 +4836,7 @@ def test_files(self):
4837
4836
self .emcc_args = [x for x in self .emcc_args if x != '-g' ] # ensure we test --closure 1 --memory-init-file 1 (-g would disable closure)
4838
4837
elif '-O3' in self .emcc_args and not self .is_wasm ():
4839
4838
print ('closure 2' )
4840
- self .emcc_args += ['--closure' , '2' , '-Wno-almost-asm' ] # Use closure 2 here for some additional coverage
4839
+ self .emcc_args += ['--closure' , '2' ] # Use closure 2 here for some additional coverage
4841
4840
return self .skipTest ('TODO: currently skipped because CI runs out of memory running Closure in this test!' )
4842
4841
4843
4842
self .emcc_args += ['-s' , 'FORCE_FILESYSTEM=1' , '--pre-js' , 'pre.js' ]
@@ -6974,7 +6973,7 @@ def test_webidl(self, mode, allow_memory_growth):
6974
6973
# being used as Box2D.* or Ammo.*, and we cannot rely on "Module" being always present (closure may remove it).
6975
6974
self .emcc_args += ['-s' , 'EXPORTED_FUNCTIONS=["_malloc","_free"]' , '--post-js' , 'glue.js' ]
6976
6975
if allow_memory_growth :
6977
- self .emcc_args += ['-s' , 'ALLOW_MEMORY_GROWTH' , '-Wno-almost-asm' ]
6976
+ self .emcc_args += ['-s' , 'ALLOW_MEMORY_GROWTH' ]
6978
6977
6979
6978
def post (filename ):
6980
6979
with open (filename , 'a' ) as f :
0 commit comments