Separate incremental JS legacy / standard incremental test fails
This commit is contained in:
committed by
Space Team
parent
fc2041e5b9
commit
2dd9bdb89d
+3
-1
@@ -56,9 +56,11 @@ abstract class AbstractIncrementalCompilerRunnerTestBase<Args : CommonCompilerAr
|
|||||||
parseCommandLineArguments(parseAdditionalArgs(testDir), this)
|
parseCommandLineArguments(parseAdditionalArgs(testDir), this)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
open fun failFile(testDir: File): File = testDir.resolve(FAIL_FILE_NAME)
|
||||||
|
|
||||||
fun doTest(path: String) {
|
fun doTest(path: String) {
|
||||||
val testDir = File(path)
|
val testDir = File(path)
|
||||||
val failFile = testDir.resolve(FAIL_FILE_NAME)
|
val failFile = failFile(testDir)
|
||||||
var testPassed = false
|
var testPassed = false
|
||||||
try {
|
try {
|
||||||
doTestImpl(testDir)
|
doTestImpl(testDir)
|
||||||
|
|||||||
+2
@@ -47,4 +47,6 @@ abstract class AbstractIncrementalK1JsLegacyCompilerRunnerTest : AbstractIncreme
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected open val scopeExpansionMode = CompileScopeExpansionMode.NEVER
|
protected open val scopeExpansionMode = CompileScopeExpansionMode.NEVER
|
||||||
|
|
||||||
|
override fun failFile(testDir: File): File = testDir.resolve("fail_js_legacy.txt")
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user