mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
run the right scripts with ScriptEngine.SpiderMonkeyGC
This commit is contained in:
parent
ebf3673ef6
commit
c029ef2a88
@ -1,5 +1,5 @@
|
|||||||
load( "spiderMonkey.wasm.js" );
|
load( "{test.wasm}.js" );
|
||||||
var wasm = read( "spiderMonkey.wasm", "binary" ); // https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Shell_global_objects
|
var wasm = read( "{test.wasm}", "binary" ); // https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Shell_global_objects
|
||||||
var testData = JSON.parse( read( "testdata.json" ) );
|
var testData = JSON.parse( read( "testdata.json" ) );
|
||||||
|
|
||||||
function callExport(instance) {
|
function callExport(instance) {
|
||||||
|
@ -65,6 +65,7 @@ public class ArrayOperations extends AbstractBaseTest {
|
|||||||
public void test() {
|
public void test() {
|
||||||
Assume.assumeFalse( (getScriptEngine().name().startsWith( "SpiderMonkey" ) )
|
Assume.assumeFalse( (getScriptEngine().name().startsWith( "SpiderMonkey" ) )
|
||||||
&& "loopLong".equals( getMethod() ) ); // TODO SpiderMonkey https://bugzilla.mozilla.org/show_bug.cgi?id=1511958
|
&& "loopLong".equals( getMethod() ) ); // TODO SpiderMonkey https://bugzilla.mozilla.org/show_bug.cgi?id=1511958
|
||||||
|
Assume.assumeFalse( getScriptEngine() == ScriptEngine.SpiderMonkeyGC );
|
||||||
super.test();
|
super.test();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user