You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by bc...@apache.org on 2004/02/10 18:42:03 UTC

cvs commit: xml-fop/src/java/org/apache/fop/tools TestConverter.java

bckfnn      2004/02/10 09:42:03

  Modified:    src/java/org/apache/fop/tools TestConverter.java
  Log:
  Added '-results' options to set the result ouput directory.
  
  Revision  Changes    Path
  1.9       +4 -1      xml-fop/src/java/org/apache/fop/tools/TestConverter.java
  
  Index: TestConverter.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/tools/TestConverter.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- TestConverter.java	20 Jan 2004 11:45:48 -0000	1.8
  +++ TestConverter.java	10 Feb 2004 17:42:03 -0000	1.9
  @@ -108,6 +108,7 @@
           }
           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 @@
                   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 @@
               System.out.println("test suite file name required");
           }
   
  -        tc.runTests(testFile, "results", null);
  +        tc.runTests(testFile, results, null);
       }
   
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org