summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDeepanshu Gupta <deepanshu@google.com>2015-01-07 10:25:58 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-07 10:25:58 +0000
commitb5af276e5e5e0bf3d07df6845c0e323a59f6ae1b (patch)
treea0d94bbd01595e08d3f9e8ca3e04164ac94254f7 /tools
parent8b0250b820a0b132ac3fc9697a158d590a8c6204 (diff)
parent2458f2b12b5ec266538b2019b0f14fca4e772bdf (diff)
downloadframeworks_base-b5af276e5e5e0bf3d07df6845c0e323a59f6ae1b.zip
frameworks_base-b5af276e5e5e0bf3d07df6845c0e323a59f6ae1b.tar.gz
frameworks_base-b5af276e5e5e0bf3d07df6845c0e323a59f6ae1b.tar.bz2
am 2458f2b1: am fa490b78: am 984823f5: am 7f9582ce: am 48603a39: Fix tests on jenkins
* commit '2458f2b12b5ec266538b2019b0f14fca4e772bdf': Fix tests on jenkins
Diffstat (limited to 'tools')
-rw-r--r--tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java b/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java
index b439b34..8085be1 100644
--- a/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java
+++ b/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java
@@ -283,6 +283,7 @@ public class Main {
}
String goldenDataDir = APP_TEST_RES + "/../../../golden/";
try {
+ goldenDataDir = new File(goldenDataDir).getAbsolutePath();
ImageUtils.requireSimilar(goldenDataDir + "activity.png", session.getImage());
} catch (IOException e) {
getLogger().error(e, e.getMessage());