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:
committed by
Vyacheslav Gerasimov
parent
f96153693e
commit
486c3a2aff
+2
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user