From 9fc4944af01db50d2c4c37840b3e543226362a07 Mon Sep 17 00:00:00 2001 From: Finn Bock Date: Tue, 10 Feb 2004 17:42:03 +0000 Subject: [PATCH] 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 --- src/java/org/apache/fop/tools/TestConverter.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); } /** -- 2.39.5