path for travis

This commit is contained in:
Julian Dolby 2015-02-27 22:44:59 -05:00
parent 140ed24aae
commit 518783d200
1 changed files with 6 additions and 4 deletions

View File

@ -130,10 +130,12 @@ public class DroidBenchCGTest extends DalvikCallGraphTestBase {
String f = walaProperties.getProperty("droidbench.root");
if (f == null || !new File(f).exists()) {
f = System.getProperty("user.dir") + "/../../DroidBench";
}
if (! new File(f + "/apk/").exists()) {
f = System.getProperty("user.dir") + "/../../../DroidBench";
if (! new File(f + "/apk/").exists()) {
f = System.getProperty("user.dir") + "/../../../DroidBench";
if (! new File(f + "/apk/").exists()) {
f = System.getProperty("user.dir") + "/../../../../DroidBench";
}
}
}
System.err.println("Use " + f + " as droid bench root");