diff options
author | Jesse Wilson <jessewilson@google.com> | 2010-03-29 17:21:31 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-03-29 17:21:31 -0700 |
commit | efd1ee32bc60bc32588f7603ededf450cad0074a (patch) | |
tree | 279add69422f9bd3977e61567ef7d7881073cde7 /xml/src | |
parent | abd91e389e4462208eb004b38d378f67d9676ec1 (diff) | |
parent | f6b4efa9565efa92916cdb30983c3ae5625018d8 (diff) | |
download | libcore-efd1ee32bc60bc32588f7603ededf450cad0074a.zip libcore-efd1ee32bc60bc32588f7603ededf450cad0074a.tar.gz libcore-efd1ee32bc60bc32588f7603ededf450cad0074a.tar.bz2 |
Merge "Tweak our test & runner so XPath tests can be executed on Hudson." into dalvik-dev
Diffstat (limited to 'xml/src')
-rw-r--r-- | xml/src/test/java/org/apache/harmony/xml/JaxenXPathTestSuite.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xml/src/test/java/org/apache/harmony/xml/JaxenXPathTestSuite.java b/xml/src/test/java/org/apache/harmony/xml/JaxenXPathTestSuite.java index 0c24fac..17f0341 100644 --- a/xml/src/test/java/org/apache/harmony/xml/JaxenXPathTestSuite.java +++ b/xml/src/test/java/org/apache/harmony/xml/JaxenXPathTestSuite.java @@ -53,11 +53,11 @@ import java.util.List; */ public class JaxenXPathTestSuite { - private static final File DEFAULT_JAXEN_HOME - = new File("/home/dalvik-prebuild/jaxen"); + private static final String DEFAULT_JAXEN_HOME = "/home/dalvik-prebuild/jaxen"; public static Test suite() throws Exception { - return suite(DEFAULT_JAXEN_HOME); + String jaxenHome = System.getProperty("jaxen.home", DEFAULT_JAXEN_HOME); + return suite(new File(jaxenHome)); } /** |