summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-02-16 11:33:16 +0100
committersb <sb@openoffice.org>2010-02-16 11:33:16 +0100
commit8314d9195a261cc7f39cfea47c9de2e6a22d13fd (patch)
tree7dc3f31810c09d610dae80302b65907355b6e890 /qadevOOo
parent3ef6cfa566e6d419d58f2659a649ba9c1308cdc5 (diff)
sb118: handle --without-junit gracefully
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/runner/helper/ClParser.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/qadevOOo/runner/helper/ClParser.java b/qadevOOo/runner/helper/ClParser.java
index c88b14a6028b..f8d4aca4d82e 100644
--- a/qadevOOo/runner/helper/ClParser.java
+++ b/qadevOOo/runner/helper/ClParser.java
@@ -29,6 +29,7 @@
************************************************************************/
package helper;
+import java.io.File;
import java.util.Properties;
import lib.TestParameters;
@@ -97,7 +98,8 @@ public class ClParser
if (pName.equals("TestDocumentPath"))
{
- System.setProperty("DOCPTH", pValue);
+ System.setProperty(
+ "DOCPTH", new File(pValue).getAbsolutePath());
}
else if (pName.equals(PropertyName.SRC_ROOT))
{