diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-06-11 10:46:31 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-06-11 10:46:31 -0700 |
commit | fa3225e331ff307ae157410606d101bf72aa316a (patch) | |
tree | 7bdc9a3c98f8a14055c88be8ec8b416db2e75540 /tests/runner.py | |
parent | 41a99b287182ea2870d51665c224ef6c315132ab (diff) |
export some filesystem commands through closure
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index 779e51da..f8824578 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -4023,8 +4023,9 @@ def process(filename): var Module = { 'noFSInit': true, 'preRun': function() { - FS.createDataFile('/', 'somefile.binary', [100, 200, 50, 25, 10, 77, 123], true, false); // 200 becomes -56, since signed chars are used in memory FS.createLazyFile('/', 'test.file', 'test.file', true, false); + // Test FS_* exporting + Module['FS_createDataFile']('/', 'somefile.binary', [100, 200, 50, 25, 10, 77, 123], true, false); // 200 becomes -56, since signed chars are used in memory var test_files_input = 'hi there!'; var test_files_input_index = 0; FS.init(function() { |