equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. |
2 * Copyright 2006-2010 Sun Microsystems, Inc. All Rights Reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
41 demo = new DemoRun("minst", "exclude=java/*,exclude=javax/*,exclude=com/*,exclude=sun/*" /* options to minst */ ); |
41 demo = new DemoRun("minst", "exclude=java/*,exclude=javax/*,exclude=com/*,exclude=sun/*" /* options to minst */ ); |
42 demo.runit(args[0]); |
42 demo.runit(args[0]); |
43 |
43 |
44 /* Make sure patterns in output look ok */ |
44 /* Make sure patterns in output look ok */ |
45 if (demo.output_contains("ERROR")) { |
45 if (demo.output_contains("ERROR")) { |
46 throw new RuntimeException("Test failed - ERROR seen in oputput"); |
46 throw new RuntimeException("Test failed - ERROR seen in output"); |
47 } |
47 } |
48 |
48 |
49 /* Must be a pass. */ |
49 /* Must be a pass. */ |
50 System.out.println("Test passed - cleanly terminated"); |
50 System.out.println("Test passed - cleanly terminated"); |
51 } |
51 } |