< prev index next >

test/testlibrary/jittester/src/jdk/test/lib/jittester/jtreg/JitTesterDriver.java

Print this page




   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 package jdk.test.lib.jittester.jtreg;
  25 
  26 import jdk.test.lib.Asserts;
  27 import jdk.test.lib.OutputAnalyzer;
  28 import jdk.test.lib.ProcessTools;
  29 import jdk.test.lib.Utils;
  30 import java.io.IOException;
  31 import java.nio.file.Files;
  32 import java.nio.file.Path;
  33 import java.nio.file.Paths;
  34 import java.util.Arrays;
  35 import java.util.function.Predicate;
  36 import java.util.regex.Pattern;
  37 import java.util.stream.Collectors;
  38 import java.util.stream.Stream;
  39 
  40 public class JitTesterDriver {
  41 
  42     public static void main(String[] args) {
  43         if (args.length < 1) {
  44             throw new IllegalArgumentException(
  45                     "[TESTBUG]: wrong number of argument : " + args.length
  46                     + ". Expected at least 1 argument -- jit-tester test name.");
  47         }
  48         OutputAnalyzer oa;




   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 package jdk.test.lib.jittester.jtreg;
  25 
  26 import jdk.test.lib.Asserts;
  27 import jdk.test.lib.process.OutputAnalyzer;
  28 import jdk.test.lib.process.ProcessTools;
  29 import jdk.test.lib.Utils;
  30 import java.io.IOException;
  31 import java.nio.file.Files;
  32 import java.nio.file.Path;
  33 import java.nio.file.Paths;
  34 import java.util.Arrays;
  35 import java.util.function.Predicate;
  36 import java.util.regex.Pattern;
  37 import java.util.stream.Collectors;
  38 import java.util.stream.Stream;
  39 
  40 public class JitTesterDriver {
  41 
  42     public static void main(String[] args) {
  43         if (args.length < 1) {
  44             throw new IllegalArgumentException(
  45                     "[TESTBUG]: wrong number of argument : " + args.length
  46                     + ". Expected at least 1 argument -- jit-tester test name.");
  47         }
  48         OutputAnalyzer oa;


< prev index next >