@@ -1370,7 +1370,7 @@ def test_fs_idbfs_fsync(self):
13701370
13711371 args = ['--pre-js' , 'pre.js' , '-lidbfs.js' , '-sEXIT_RUNTIME' , '-sASYNCIFY' ]
13721372 secret = str (time .time ())
1373- self .btest ('fs/test_idbfs_fsync.c' , '1' , emcc_args = args + ['-DFIRST' , f'-DSECRET="{ secret } "' , '-lidbfs.js' ])
1373+ self .btest ('fs/test_idbfs_fsync.c' , '1' , emcc_args = args + ['-DFIRST' , f'-DSECRET="{ secret } "' , '-lidbfs.js' ])
13741374 self .btest ('fs/test_idbfs_fsync.c' , '1' , emcc_args = args + [f'-DSECRET="{ secret } "' , '-lidbfs.js' ])
13751375
13761376 def test_fs_memfs_fsync (self ):
@@ -1392,7 +1392,7 @@ def test_fs_workerfs_read(self):
13921392 }, '/work');
13931393 };
13941394 ''' % (secret , secret2 ))
1395- self .btest_exit ('fs/test_workerfs_read.c' , emcc_args = ['-lworkerfs.js' , '--pre-js' , 'pre.js' , f'-DSECRET="{ secret } "' , f'-DSECRET2="{ secret2 } "' , '--proxy-to-worker' , '-lworkerfs.js' ])
1395+ self .btest_exit ('fs/test_workerfs_read.c' , emcc_args = ['-lworkerfs.js' , '--pre-js' , 'pre.js' , f'-DSECRET="{ secret } "' , f'-DSECRET2="{ secret2 } "' , '--proxy-to-worker' , '-lworkerfs.js' ])
13961396
13971397 def test_fs_workerfs_package (self ):
13981398 self .set_setting ('DEFAULT_LIBRARY_FUNCS_TO_INCLUDE' , '$ccall' )
@@ -1445,8 +1445,8 @@ def test_fs_lz4fs_package(self):
14451445 self .btest_exit ('fs/test_lz4fs.cpp' , 1 , emcc_args = ['-DLOAD_MANUALLY' , '-sLZ4' , '-sFORCE_FILESYSTEM' , '-O2' ])
14461446 print (' opts+closure' )
14471447 self .btest_exit ('fs/test_lz4fs.cpp' , 1 , emcc_args = ['-DLOAD_MANUALLY' , '-sLZ4' ,
1448- '-sFORCE_FILESYSTEM' , '-O2' ,
1449- '--closure=1' , '-g1' , '-Wno-closure' ])
1448+ '-sFORCE_FILESYSTEM' , '-O2' ,
1449+ '--closure=1' , '-g1' , '-Wno-closure' ])
14501450
14511451 '''# non-lz4 for comparison
14521452 try:
@@ -4367,12 +4367,12 @@ def test_webgl_multi_draw(self, args):
43674367 def test_webgl_draw_base_vertex_base_instance (self , multi_draw , draw_elements ):
43684368 self .reftest ('webgl_draw_base_vertex_base_instance_test.c' , 'webgl_draw_instanced_base_vertex_base_instance.png' ,
43694369 emcc_args = ['-lGL' ,
4370- '-sMAX_WEBGL_VERSION=2' ,
4371- '-sOFFSCREEN_FRAMEBUFFER' ,
4372- '-DMULTI_DRAW=' + str (multi_draw ),
4373- '-DDRAW_ELEMENTS=' + str (draw_elements ),
4374- '-DEXPLICIT_SWAP=1' ,
4375- '-DWEBGL_CONTEXT_VERSION=2' ])
4370+ '-sMAX_WEBGL_VERSION=2' ,
4371+ '-sOFFSCREEN_FRAMEBUFFER' ,
4372+ '-DMULTI_DRAW=' + str (multi_draw ),
4373+ '-DDRAW_ELEMENTS=' + str (draw_elements ),
4374+ '-DEXPLICIT_SWAP=1' ,
4375+ '-DWEBGL_CONTEXT_VERSION=2' ])
43764376
43774377 @requires_graphics_hardware
43784378 def test_webgl_sample_query (self ):
@@ -5353,8 +5353,8 @@ def test_wasmfs_fetch_backend(self, args):
53535353 create_file ('subdir/backendfile2' , 'file 2' )
53545354 self .btest_exit ('wasmfs/wasmfs_fetch.c' ,
53555355 emcc_args = ['-sWASMFS' , '-pthread' , '-sPROXY_TO_PTHREAD' ,
5356- '-sFORCE_FILESYSTEM' , '-lfetchfs.js' ,
5357- '--js-library' , test_file ('wasmfs/wasmfs_fetch.js' )] + args )
5356+ '-sFORCE_FILESYSTEM' , '-lfetchfs.js' ,
5357+ '--js-library' , test_file ('wasmfs/wasmfs_fetch.js' )] + args )
53585358
53595359 @no_firefox ('no OPFS support yet' )
53605360 @no_wasm64 ()
0 commit comments