[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 :
|
abstract class AbstractJsFirES6InvalidationPerModuleTest :
|
||||||
FirAbstractInvalidationTest(TargetBackend.JS_IR_ES6, JsGenerationGranularity.PER_MODULE, "incrementalOut/invalidationFirES6/perModule")
|
FirAbstractInvalidationTest(TargetBackend.JS_IR_ES6, JsGenerationGranularity.PER_MODULE, "incrementalOut/invalidationFirES6/perModule")
|
||||||
abstract class AbstractJsFirInvalidationPerFileWithPLTest :
|
abstract class AbstractJsFirInvalidationPerFileWithPLTest :
|
||||||
AbstractJsFirInvalidationWithPLTest(JsGenerationGranularity.PER_FILE, "incrementalOut/invalidationWithPL/perFile")
|
AbstractJsFirInvalidationWithPLTest(JsGenerationGranularity.PER_FILE, "incrementalOut/invalidationFirWithPL/perFile")
|
||||||
abstract class AbstractJsFirInvalidationPerModuleWithPLTest :
|
abstract class AbstractJsFirInvalidationPerModuleWithPLTest :
|
||||||
AbstractJsFirInvalidationWithPLTest(JsGenerationGranularity.PER_MODULE, "incrementalOut/invalidationWithPL/perModule")
|
AbstractJsFirInvalidationWithPLTest(JsGenerationGranularity.PER_MODULE, "incrementalOut/invalidationFirWithPL/perModule")
|
||||||
|
|
||||||
abstract class AbstractJsFirInvalidationWithPLTest(granularity: JsGenerationGranularity, workingDirPath: String) :
|
abstract class AbstractJsFirInvalidationWithPLTest(granularity: JsGenerationGranularity, workingDirPath: String) :
|
||||||
FirAbstractInvalidationTest(
|
FirAbstractInvalidationTest(
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ open class AbstractFirJsCodegenInlineTest : AbstractFirJsTest(
|
|||||||
// TODO: implement separate expectations for FIR/JS to reuse testdata, disabled for now
|
// TODO: implement separate expectations for FIR/JS to reuse testdata, disabled for now
|
||||||
//open class AbstractJsFirLineNumberTest : AbstractFirJsTest(
|
//open class AbstractJsFirLineNumberTest : AbstractFirJsTest(
|
||||||
// pathToTestDir = "${JsEnvironmentConfigurator.TEST_DATA_DIR_PATH}/lineNumbers/",
|
// pathToTestDir = "${JsEnvironmentConfigurator.TEST_DATA_DIR_PATH}/lineNumbers/",
|
||||||
// testGroupOutputDirPrefix = "irLineNumbers/"
|
// testGroupOutputDirPrefix = "firLineNumbers/"
|
||||||
//) {
|
//) {
|
||||||
// override fun configure(builder: TestConfigurationBuilder) {
|
// override fun configure(builder: TestConfigurationBuilder) {
|
||||||
// super.configure(builder)
|
// super.configure(builder)
|
||||||
@@ -147,7 +147,7 @@ open class AbstractFirJsCodegenInlineTest : AbstractFirJsTest(
|
|||||||
|
|
||||||
open class AbstractFirJsSteppingTest : AbstractFirJsTest(
|
open class AbstractFirJsSteppingTest : AbstractFirJsTest(
|
||||||
pathToTestDir = "compiler/testData/debug/stepping/",
|
pathToTestDir = "compiler/testData/debug/stepping/",
|
||||||
testGroupOutputDirPrefix = "debug/stepping/"
|
testGroupOutputDirPrefix = "debug/firStepping/"
|
||||||
) {
|
) {
|
||||||
override fun TestConfigurationBuilder.configuration() {
|
override fun TestConfigurationBuilder.configuration() {
|
||||||
commonConfigurationForJsBlackBoxCodegenTest()
|
commonConfigurationForJsBlackBoxCodegenTest()
|
||||||
@@ -164,6 +164,6 @@ open class AbstractFirJsSteppingTest : AbstractFirJsTest(
|
|||||||
}
|
}
|
||||||
|
|
||||||
open class AbstractFirJsCodegenWasmJsInteropTest : AbstractFirJsTest(
|
open class AbstractFirJsCodegenWasmJsInteropTest : AbstractFirJsTest(
|
||||||
pathToTestDir = "compiler/testData/codegen/wasmJsInterop",
|
pathToTestDir = "compiler/testData/codegen/wasmJsInterop/",
|
||||||
testGroupOutputDirPrefix = "codegen/wasmJsInteropJs"
|
testGroupOutputDirPrefix = "codegen/firWasmJsInteropJs/"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -209,7 +209,7 @@ private fun configureJsIrLineNumberTest(builder: TestConfigurationBuilder) {
|
|||||||
|
|
||||||
open class AbstractIrJsSteppingTest : AbstractJsIrTest(
|
open class AbstractIrJsSteppingTest : AbstractJsIrTest(
|
||||||
pathToTestDir = "compiler/testData/debug/stepping/",
|
pathToTestDir = "compiler/testData/debug/stepping/",
|
||||||
testGroupOutputDirPrefix = "debug/stepping/"
|
testGroupOutputDirPrefix = "debug/irStepping/"
|
||||||
) {
|
) {
|
||||||
override fun TestConfigurationBuilder.configuration() {
|
override fun TestConfigurationBuilder.configuration() {
|
||||||
commonConfigurationForJsBlackBoxCodegenTest()
|
commonConfigurationForJsBlackBoxCodegenTest()
|
||||||
@@ -244,6 +244,6 @@ open class AbstractIrJsLocalVariableTest : AbstractJsIrTest(
|
|||||||
}
|
}
|
||||||
|
|
||||||
open class AbstractIrCodegenWasmJsInteropJsTest : AbstractJsIrTest(
|
open class AbstractIrCodegenWasmJsInteropJsTest : AbstractJsIrTest(
|
||||||
pathToTestDir = "compiler/testData/codegen/wasmJsInterop",
|
pathToTestDir = "compiler/testData/codegen/wasmJsInterop/",
|
||||||
testGroupOutputDirPrefix = "codegen/wasmJsInteropJs"
|
testGroupOutputDirPrefix = "codegen/irWasmJsInteropJs/"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user