diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-21 10:52:58 +0100 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-11-21 20:47:02 +0100 |
commit | 3a048d9e5856ae9b2945c158ff43c1c35857a919 (patch) | |
tree | 3ec3278edc57c5e6175639ec022e2c1808d3a335 /tests | |
parent | 6f679ca7e71e881a8ee23ae3c8cb163c090f256f (diff) |
cache emscript function chunks
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runner.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index f844483e..0b0a41ca 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -10449,6 +10449,8 @@ fi def test_jcache(self): PRE_LOAD_MSG = 'loading pre from jcache' PRE_SAVE_MSG = 'saving pre to jcache' + FUNC_CHUNKS_LOAD_MSG = 'funcchunks from jcache' + FUNC_CHUNKS_SAVE_MSG = 'funcchunks to jcache' restore() Cache.erase() @@ -10475,7 +10477,9 @@ fi self.clear() out, err = Popen(['python', EMCC, path_from_root('tests', input_file)] + args, stdout=PIPE, stderr=PIPE).communicate() assert (PRE_SAVE_MSG in err) == expect_save, err - assert (PRE_LOAD_MSG in err) == expect_load, errr + assert (PRE_LOAD_MSG in err) == expect_load, err + assert (FUNC_CHUNKS_SAVE_MSG in err) == expect_save, err + assert (FUNC_CHUNKS_LOAD_MSG in err) == expect_load, err curr = open('a.out.js').read() if src is None: src = None |