Fix debugger tests

This commit is contained in:
Mikhael Bogdanov
2019-04-15 11:35:04 +02:00
parent 51bc979edb
commit aaf0fbdbd6
@@ -70,7 +70,17 @@ public abstract class KotlinDebuggerTestCase extends DescriptorTestCase {
// LOCAL_CACHE_DIR removing can be used to force caches invalidating as well.
private static final boolean LOCAL_CACHE_REUSE = true;
private static final File LOCAL_CACHE_DIR = new File("out/debuggerTinyApp");
private static final File LOCAL_CACHE_DIR;
static {
try {
LOCAL_CACHE_DIR = KotlinTestUtils.tmpDir("debuggerTinyApp");
}
catch (IOException e) {
throw new RuntimeException(e);
}
}
private static final File LOCAL_CACHE_JAR_DIR = new File(LOCAL_CACHE_DIR, "jar");
private static final File LOCAL_CACHE_APP_DIR = new File(LOCAL_CACHE_DIR, "app");
private static final File LOCAL_CACHE_LAST_MODIFIED_FILE = new File(LOCAL_CACHE_DIR, "lastModified.txt");