diff --git a/tools/junit/src/main/java/org/teavm/junit/WebAssemblyGCPlatformSupport.java b/tools/junit/src/main/java/org/teavm/junit/WebAssemblyGCPlatformSupport.java index a13c9421f..0c0b19958 100644 --- a/tools/junit/src/main/java/org/teavm/junit/WebAssemblyGCPlatformSupport.java +++ b/tools/junit/src/main/java/org/teavm/junit/WebAssemblyGCPlatformSupport.java @@ -109,7 +109,7 @@ class WebAssemblyGCPlatformSupport extends TestPlatformSupport { @Override void additionalOutput(File outputPath, File outputPathForMethod, TeaVMTestConfiguration configuration, MethodReference reference) { - htmlOutput(outputPath, outputPathForMethod, configuration, reference, "teavm-run-test-wasm.html"); + htmlOutput(outputPath, outputPathForMethod, configuration, reference, "teavm-run-test-wasm-gc.html"); var testPath = getOutputFile(outputPath, "classTest", configuration.getSuffix(), getExtension() + "-runtime.js"); try { @@ -122,7 +122,7 @@ class WebAssemblyGCPlatformSupport extends TestPlatformSupport { @Override void additionalSingleTestOutput(File outputPathForMethod, TeaVMTestConfiguration configuration, MethodReference reference) { - htmlSingleTestOutput(outputPathForMethod, configuration, "teavm-run-test-wasm.html"); + htmlSingleTestOutput(outputPathForMethod, configuration, "teavm-run-test-wasm-gc.html"); var testPath = getOutputFile(outputPathForMethod, "test", configuration.getSuffix(), getExtension() + "-runtime.js"); try { diff --git a/tools/junit/src/main/resources/teavm-run-test-wasm-gc.html b/tools/junit/src/main/resources/teavm-run-test-wasm-gc.html new file mode 100644 index 000000000..13885e560 --- /dev/null +++ b/tools/junit/src/main/resources/teavm-run-test-wasm-gc.html @@ -0,0 +1,49 @@ + + + + + + TeaVM JUnit test + + + + + + + \ No newline at end of file