MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / run

Method run

test/test_other.py:8495–8500  ·  view source on GitHub ↗
(args, expected)

Source from the content-addressed store, hash-verified

8493
8494 def test_sysconf_phys_pages(self):
8495 def run(args, expected):
8496 cmd = [EMCC, test_file('unistd/sysconf_phys_pages.c')] + args
8497 print(str(cmd))
8498 self.run_process(cmd)
8499 result = self.run_js('a.out.js').strip()
8500 self.assertEqual(result, f'{expected}, errno: 0')
8501
8502 run([], 258)
8503 run(['-sINITIAL_MEMORY=32MB'], 512)

Callers 15

check_outputFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
run_processFunction · 0.45
emscriptFunction · 0.45
grepFunction · 0.45
mainFunction · 0.45
generate_default_notesFunction · 0.45
mainFunction · 0.45
check_structsFunction · 0.45
check_definesFunction · 0.45
create_draft_releaseFunction · 0.45

Calls 4

test_fileFunction · 0.90
run_processMethod · 0.80
run_jsMethod · 0.80
printFunction · 0.50

Tested by

no test coverage detected