Added check for duplicate source paths in all compiler workflows.

This commit is contained in:
Evgeny Gerashchenko
2014-08-29 17:49:10 +04:00
parent 35720ff46d
commit 4e41673b75
17 changed files with 72 additions and 46 deletions
@@ -1,2 +0,0 @@
-module
$TESTDATA_DIR$/duplicateSource.xml
@@ -1,2 +0,0 @@
WARNING: Duplicate source roots: $TESTDATA_DIR$/duplicateSource.kt
OK
@@ -1,6 +0,0 @@
<modules>
<module name="name" outputDir="whatever">
<sources path="duplicateSource.kt"/>
<sources path="duplicateSource.kt"/>
</module>
</modules>
@@ -0,0 +1,4 @@
$TESTDATA_DIR$/simple.kt
$TESTDATA_DIR$/simple.kt
-d
$TEMP_DIR$
@@ -0,0 +1,2 @@
WARNING: Duplicate source roots: compiler/testData/cli/jvm/simple.kt
OK
@@ -0,0 +1,2 @@
-module
$TESTDATA_DIR$/duplicateSourcesInModule.xml
@@ -0,0 +1 @@
// this file is intentionally left blank to avoid creation of class files: this would need tuning test framework
@@ -0,0 +1,2 @@
WARNING: Duplicate source roots: $TESTDATA_DIR$/duplicateSourcesInModule.kt
OK
@@ -0,0 +1,6 @@
<modules>
<module name="name" outputDir="whatever">
<sources path="duplicateSourcesInModule.kt"/>
<sources path="duplicateSourcesInModule.kt"/>
</module>
</modules>