Do not depende on the ideaSdk location in integration tests

assume that tests are always run from the project's root
This commit is contained in:
Ilya Chernikov
2017-11-13 13:19:56 +01:00
committed by Vyacheslav Gerasimov
parent f96153693e
commit 486c3a2aff
@@ -140,7 +140,8 @@ public abstract class KotlinIntegrationTestBase extends TestCaseWithTmpdir {
}
protected static File getKotlinProjectHome() {
return new File(PathManager.getHomePath()).getParentFile();
// assuming that tests are always run from the project's root
return new File(System.getProperty("user.dir"));
}
private static class OutputListener extends ProcessAdapter {