[JS DCE] Add an ability to define overwriting strategy when copying dependencies in dev-mode
* CLI option "-Xdev-mode-overwriting-strategy" * System Property "kotlin.js.dce.devmode.overwriting.strategy" Possible values: "older", "all". #KT-36349 Fixed
This commit is contained in:
@@ -976,6 +976,11 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/js-dce"), Pattern.compile("^(.+)\\.args$"), null, false);
|
||||
}
|
||||
|
||||
@TestMetadata("dceExtraHelp.args")
|
||||
public void testDceExtraHelp() throws Exception {
|
||||
runTest("compiler/testData/cli/js-dce/dceExtraHelp.args");
|
||||
}
|
||||
|
||||
@TestMetadata("dceHelp.args")
|
||||
public void testDceHelp() throws Exception {
|
||||
runTest("compiler/testData/cli/js-dce/dceHelp.args");
|
||||
@@ -996,11 +1001,6 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
runTest("compiler/testData/cli/js-dce/invalidFilename.args");
|
||||
}
|
||||
|
||||
@TestMetadata("jsExtraHelp.args")
|
||||
public void testJsExtraHelp() throws Exception {
|
||||
runTest("compiler/testData/cli/js-dce/jsExtraHelp.args");
|
||||
}
|
||||
|
||||
@TestMetadata("nonExistingSourcePath.args")
|
||||
public void testNonExistingSourcePath() throws Exception {
|
||||
runTest("compiler/testData/cli/js-dce/nonExistingSourcePath.args");
|
||||
|
||||
Reference in New Issue
Block a user