run the right scripts with ScriptEngine.SpiderMonkeyGC

This commit is contained in:
Volker Berlin 2019-09-08 13:40:24 +02:00
parent ebf3673ef6
commit c029ef2a88
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
load( "spiderMonkey.wasm.js" );
var wasm = read( "spiderMonkey.wasm", "binary" ); // https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Shell_global_objects
load( "{test.wasm}.js" );
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" ) );
function callExport(instance) {

View File

@ -65,6 +65,7 @@ public class ArrayOperations extends AbstractBaseTest {
public void test() {
Assume.assumeFalse( (getScriptEngine().name().startsWith( "SpiderMonkey" ) )
&& "loopLong".equals( getMethod() ) ); // TODO SpiderMonkey https://bugzilla.mozilla.org/show_bug.cgi?id=1511958
Assume.assumeFalse( getScriptEngine() == ScriptEngine.SpiderMonkeyGC );
super.test();
}