Skip to content

Commit dff4f43

Browse files
vsukharevSpace Team
authored andcommitted
[Tests][Wasm] Add testData() specifications
These specifications cause `testDataFile` to become absolute paths, which breaks logic in getWasmTestOutputDirectory() ^KT-81106
1 parent dac9ca5 commit dff4f43

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

wasm/wasm.tests/build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,15 @@ fun Test.setupWasmEdge() {
266266
testsJar {}
267267

268268
projectTests {
269+
testData(project(":compiler").isolated, "testData/debug")
270+
testData(project(":compiler").isolated, "testData/diagnostics")
271+
testData(project(":compiler").isolated, "testData/codegen")
272+
testData(project(":compiler").isolated, "testData/ir")
273+
testData(project(":compiler").isolated, "testData/klib")
274+
testData(project(":js:js.translator").isolated, "testData/box")
275+
testData(project(":js:js.translator").isolated, "testData/incremental")
276+
testData(project(":js:js.translator").isolated, "testData/typescript-export")
277+
269278
testGenerator("org.jetbrains.kotlin.generators.tests.GenerateWasmTestsKt")
270279

271280
fun wasmProjectTest(taskName: String, skipInLocalBuild: Boolean = false, body: Test.() -> Unit = {}) {

0 commit comments

Comments
 (0)