try to get droidbench
This commit is contained in:
parent
1b0ed09144
commit
9f6d3623ca
|
@ -2,6 +2,8 @@ language: java
|
|||
before_install:
|
||||
- "export DISPLAY=:99.0"
|
||||
- "sh -e /etc/init.d/xvfb start"
|
||||
- "git clone https://github.com/secure-software-engineering/DroidBench.git"
|
||||
- "export DROID_BENCH_ROOT=`pwd`/DroidBench"
|
||||
install: mvn clean verify -DskipTests=true -B -q
|
||||
script: mvn clean verify -B -q
|
||||
sudo: false
|
||||
|
|
|
@ -75,7 +75,15 @@ public class DroidBenchCGTest extends DalvikCallGraphTestBase {
|
|||
uncalledFunctions.put("Reflection_Reflection1.apk", x);
|
||||
}
|
||||
|
||||
public static final String droidBenchRoot = walaProperties.getProperty("droidbench.root");
|
||||
public static String droidBenchRoot;
|
||||
|
||||
{
|
||||
String f = walaProperties.getProperty("droidbench.root");
|
||||
if (f == null || !new File(f).exists()) {
|
||||
f = System.getenv("DROID_BENCH_ROOT");
|
||||
}
|
||||
droidBenchRoot = f;
|
||||
}
|
||||
|
||||
private void assertUserCodeReachable(CallGraph cg) throws InvalidClassFileException {
|
||||
for(Iterator<IClass> clss = cg.getClassHierarchy().getLoader(ClassLoaderReference.Application).iterateAllClasses();
|
||||
|
|
Loading…
Reference in New Issue