Added check for duplicate source paths in all compiler workflows.
This commit is contained in:
@@ -42,7 +42,14 @@ public class CliCommonTest extends CliBaseTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void duplicateSource() throws Exception {
|
||||
public void duplicateSources() throws Exception {
|
||||
executeCompilerCompareOutputJVM();
|
||||
|
||||
Assert.assertTrue(new File(tmpdir.getTmpDir(), PackageClassUtils.getPackageClassName(FqName.ROOT) + ".class").isFile());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void duplicateSourcesInModule() throws Exception {
|
||||
executeCompilerCompareOutputJVM();
|
||||
}
|
||||
|
||||
|
||||
@@ -51,9 +51,14 @@ public class KotlincExecutableTestGenerated extends AbstractKotlincExecutableTes
|
||||
doJvmTest("compiler/testData/cli/jvm/diagnosticsOrder.args");
|
||||
}
|
||||
|
||||
@TestMetadata("duplicateSource.args")
|
||||
public void testDuplicateSource() throws Exception {
|
||||
doJvmTest("compiler/testData/cli/jvm/duplicateSource.args");
|
||||
@TestMetadata("duplicateSources.args")
|
||||
public void testDuplicateSources() throws Exception {
|
||||
doJvmTest("compiler/testData/cli/jvm/duplicateSources.args");
|
||||
}
|
||||
|
||||
@TestMetadata("duplicateSourcesInModule.args")
|
||||
public void testDuplicateSourcesInModule() throws Exception {
|
||||
doJvmTest("compiler/testData/cli/jvm/duplicateSourcesInModule.args");
|
||||
}
|
||||
|
||||
@TestMetadata("extraHelp.args")
|
||||
|
||||
Reference in New Issue
Block a user