aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
diff options
context:
space:
mode:
authorFinn Bock <bckfnn@apache.org>2004-02-10 17:42:03 +0000
committerFinn Bock <bckfnn@apache.org>2004-02-10 17:42:03 +0000
commit9fc4944af01db50d2c4c37840b3e543226362a07 (patch)
tree4a16b1bb285bcae87ca87aeb330a2d7ca518214e /src/java/org/apache
parent7c87a773303c50670894145f6f32cdd2eda1c19b (diff)
downloadxmlgraphics-fop-9fc4944af01db50d2c4c37840b3e543226362a07.tar.gz
xmlgraphics-fop-9fc4944af01db50d2c4c37840b3e543226362a07.zip
Added '-results' options to set the result ouput directory.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197346 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache')
-rw-r--r--src/java/org/apache/fop/tools/TestConverter.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/tools/TestConverter.java b/src/java/org/apache/fop/tools/TestConverter.java
index 8bb54510f..b93cd7b30 100644
--- a/src/java/org/apache/fop/tools/TestConverter.java
+++ b/src/java/org/apache/fop/tools/TestConverter.java
@@ -108,6 +108,7 @@ public class TestConverter extends AbstractLogEnabled {
}
TestConverter tc = new TestConverter();
+ String results = "results";
String testFile = null;
for (int count = 0; count < args.length; count++) {
if (args[count].equals("-failOnly")) {
@@ -118,6 +119,8 @@ public class TestConverter extends AbstractLogEnabled {
tc.setDebug(true);
} else if (args[count].equals("-b")) {
tc.setBaseDir(args[++count]);
+ } else if (args[count].equals("-results")) {
+ results = args[++count];
} else {
testFile = args[count];
}
@@ -126,7 +129,7 @@ public class TestConverter extends AbstractLogEnabled {
System.out.println("test suite file name required");
}
- tc.runTests(testFile, "results", null);
+ tc.runTests(testFile, results, null);
}
/**