diff options
author | Jesse Wilson <jessewilson@google.com> | 2010-03-29 16:13:48 -0700 |
---|---|---|
committer | Jesse Wilson <jessewilson@google.com> | 2010-03-29 16:14:10 -0700 |
commit | f6b4efa9565efa92916cdb30983c3ae5625018d8 (patch) | |
tree | 8b336fef4f3f0d53ce317540535352dd09a2819a /xml | |
parent | 66a66f700738c07c7977cb023f8a7aa2b331af90 (diff) | |
download | libcore-f6b4efa9565efa92916cdb30983c3ae5625018d8.zip libcore-f6b4efa9565efa92916cdb30983c3ae5625018d8.tar.gz libcore-f6b4efa9565efa92916cdb30983c3ae5625018d8.tar.bz2 |
Tweak our test & runner so XPath tests can be executed on Hudson.
Diffstat (limited to 'xml')
-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)); } /** |