attempt to fix chained test failures
- commenting out potentially "bad" test - calculating homedir only once
This commit is contained in:
@@ -342,8 +342,15 @@ public class KotlinTestUtils {
|
||||
return getHomeDirectory() + "/compiler/testData";
|
||||
}
|
||||
|
||||
private static String homeDir = computeHomeDirectory();
|
||||
|
||||
@NotNull
|
||||
public static String getHomeDirectory() {
|
||||
return homeDir;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
private static String computeHomeDirectory() {
|
||||
String userDir = System.getProperty("user.dir");
|
||||
File dir = new File(userDir == null ? "." : userDir);
|
||||
return FileUtil.toCanonicalPath(dir.getAbsolutePath());
|
||||
|
||||
Reference in New Issue
Block a user