Report error if <withKotlin> is run in fork mode

Otherwise the error message is confusing, see #KT-9292
This commit is contained in:
Alexander Udalov
2017-05-17 14:23:45 +03:00
parent 671aed252d
commit d1c9d0328a
5 changed files with 42 additions and 0 deletions
@@ -150,6 +150,12 @@ public class AntTaskTestGenerated extends AbstractAntTaskTest {
doTest(fileName);
}
@TestMetadata("withKotlinFork")
public void testWithKotlinFork() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/integration/ant/jvm/withKotlinFork/");
doTest(fileName);
}
@TestMetadata("withKotlinNoJavaSources")
public void testWithKotlinNoJavaSources() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/integration/ant/jvm/withKotlinNoJavaSources/");