[JS tests] Split FIR and IR output test dirs
This commit is contained in:
committed by
Space Team
parent
48f8f8af5f
commit
ac30911497
@@ -36,9 +36,9 @@ abstract class AbstractJsFirES6InvalidationPerFileTest :
|
||||
abstract class AbstractJsFirES6InvalidationPerModuleTest :
|
||||
FirAbstractInvalidationTest(TargetBackend.JS_IR_ES6, JsGenerationGranularity.PER_MODULE, "incrementalOut/invalidationFirES6/perModule")
|
||||
abstract class AbstractJsFirInvalidationPerFileWithPLTest :
|
||||
AbstractJsFirInvalidationWithPLTest(JsGenerationGranularity.PER_FILE, "incrementalOut/invalidationWithPL/perFile")
|
||||
AbstractJsFirInvalidationWithPLTest(JsGenerationGranularity.PER_FILE, "incrementalOut/invalidationFirWithPL/perFile")
|
||||
abstract class AbstractJsFirInvalidationPerModuleWithPLTest :
|
||||
AbstractJsFirInvalidationWithPLTest(JsGenerationGranularity.PER_MODULE, "incrementalOut/invalidationWithPL/perModule")
|
||||
AbstractJsFirInvalidationWithPLTest(JsGenerationGranularity.PER_MODULE, "incrementalOut/invalidationFirWithPL/perModule")
|
||||
|
||||
abstract class AbstractJsFirInvalidationWithPLTest(granularity: JsGenerationGranularity, workingDirPath: String) :
|
||||
FirAbstractInvalidationTest(
|
||||
|
||||
@@ -137,7 +137,7 @@ open class AbstractFirJsCodegenInlineTest : AbstractFirJsTest(
|
||||
// TODO: implement separate expectations for FIR/JS to reuse testdata, disabled for now
|
||||
//open class AbstractJsFirLineNumberTest : AbstractFirJsTest(
|
||||
// pathToTestDir = "${JsEnvironmentConfigurator.TEST_DATA_DIR_PATH}/lineNumbers/",
|
||||
// testGroupOutputDirPrefix = "irLineNumbers/"
|
||||
// testGroupOutputDirPrefix = "firLineNumbers/"
|
||||
//) {
|
||||
// override fun configure(builder: TestConfigurationBuilder) {
|
||||
// super.configure(builder)
|
||||
@@ -147,7 +147,7 @@ open class AbstractFirJsCodegenInlineTest : AbstractFirJsTest(
|
||||
|
||||
open class AbstractFirJsSteppingTest : AbstractFirJsTest(
|
||||
pathToTestDir = "compiler/testData/debug/stepping/",
|
||||
testGroupOutputDirPrefix = "debug/stepping/"
|
||||
testGroupOutputDirPrefix = "debug/firStepping/"
|
||||
) {
|
||||
override fun TestConfigurationBuilder.configuration() {
|
||||
commonConfigurationForJsBlackBoxCodegenTest()
|
||||
@@ -164,6 +164,6 @@ open class AbstractFirJsSteppingTest : AbstractFirJsTest(
|
||||
}
|
||||
|
||||
open class AbstractFirJsCodegenWasmJsInteropTest : AbstractFirJsTest(
|
||||
pathToTestDir = "compiler/testData/codegen/wasmJsInterop",
|
||||
testGroupOutputDirPrefix = "codegen/wasmJsInteropJs"
|
||||
pathToTestDir = "compiler/testData/codegen/wasmJsInterop/",
|
||||
testGroupOutputDirPrefix = "codegen/firWasmJsInteropJs/"
|
||||
)
|
||||
|
||||
@@ -209,7 +209,7 @@ private fun configureJsIrLineNumberTest(builder: TestConfigurationBuilder) {
|
||||
|
||||
open class AbstractIrJsSteppingTest : AbstractJsIrTest(
|
||||
pathToTestDir = "compiler/testData/debug/stepping/",
|
||||
testGroupOutputDirPrefix = "debug/stepping/"
|
||||
testGroupOutputDirPrefix = "debug/irStepping/"
|
||||
) {
|
||||
override fun TestConfigurationBuilder.configuration() {
|
||||
commonConfigurationForJsBlackBoxCodegenTest()
|
||||
@@ -244,6 +244,6 @@ open class AbstractIrJsLocalVariableTest : AbstractJsIrTest(
|
||||
}
|
||||
|
||||
open class AbstractIrCodegenWasmJsInteropJsTest : AbstractJsIrTest(
|
||||
pathToTestDir = "compiler/testData/codegen/wasmJsInterop",
|
||||
testGroupOutputDirPrefix = "codegen/wasmJsInteropJs"
|
||||
)
|
||||
pathToTestDir = "compiler/testData/codegen/wasmJsInterop/",
|
||||
testGroupOutputDirPrefix = "codegen/irWasmJsInteropJs/"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user