Skip to content

Commit 09926be

Browse files
committed
Fixup & rebaseline
1 parent 68abd5a commit 09926be

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"test.js": 4227,
3-
"test.js.gz": 2181
2+
"a.out.js": 2814,
3+
"a.out.js.gz": 1507
44
}

test/test_other.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12379,7 +12379,7 @@ def test_main_reads_params(self):
1237912379
self.assertLess(no, 0.95 * yes)
1238012380

1238112381
def test_small_js_flags(self):
12382-
self.emcc('browser_test_hello_world.c', '0', cflags=['-O3', '--closure=1', '-sINCOMING_MODULE_JS_API=[]', '-sENVIRONMENT=web', '--output-eol=linux'])
12382+
self.emcc(test_file('browser_test_hello_world.c'), ['-O3', '--closure=1', '-sINCOMING_MODULE_JS_API=[]', '-sENVIRONMENT=web', '--output-eol=linux'])
1238312383
self.check_output_sizes('a.out.js')
1238412384

1238512385
def test_INCOMING_MODULE_JS_API(self):
@@ -12393,8 +12393,6 @@ def test(args):
1239312393
print('sizes', normal, changed)
1239412394
# Changing this option to [] should decrease code size.
1239512395
self.assertLess(changed, normal)
12396-
# Check an absolute code size as well.
12397-
self.check_output_sizes('a.out.js')
1239812396

1239912397
def test_INCOMING_MODULE_JS_API_missing(self):
1240012398
create_file('pre.js', 'Module.onRuntimeInitialized = () => out("initialized");')

0 commit comments

Comments
 (0)