mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
Skip some Tests for SpiderMonkeyWat because bugs in WasmTextToBinary
This commit is contained in:
parent
bddf4c7525
commit
97e3c9616f
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2018 Volker Berlin (i-net software)
|
||||
* Copyright 2018 - 2019 Volker Berlin (i-net software)
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -49,6 +49,15 @@ public abstract class AbstractBaseTest {
|
||||
list.add( new Object[]{script, method, params} );
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the ScriptEngine with which the test is running.
|
||||
*
|
||||
* @return the engine
|
||||
*/
|
||||
protected ScriptEngine getScriptEngine() {
|
||||
return script;
|
||||
}
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
wasm.test( script, method, params );
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2018 Volker Berlin (i-net software)
|
||||
* Copyright 2018 - 2019 Volker Berlin (i-net software)
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -15,10 +15,13 @@
|
||||
*/
|
||||
package de.inetsoftware.jwebassembly.runtime;
|
||||
|
||||
import static org.junit.Assume.assumeFalse;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.junit.ClassRule;
|
||||
import org.junit.Test;
|
||||
import org.junit.runners.Parameterized.Parameters;
|
||||
|
||||
import de.inetsoftware.jwebassembly.ScriptEngine;
|
||||
@ -57,6 +60,12 @@ public class ControlFlowOperators extends AbstractBaseTest {
|
||||
return list;
|
||||
}
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
assumeFalse( getScriptEngine() == ScriptEngine.SpiderMonkeyWat ); // https://bugzilla.mozilla.org/show_bug.cgi?id=1545755
|
||||
super.test();
|
||||
}
|
||||
|
||||
static class TestClass {
|
||||
|
||||
@Export
|
||||
|
Loading…
x
Reference in New Issue
Block a user