equal
deleted
inserted
replaced
120 // What we going to check. |
120 // What we going to check. |
121 testCase.print(System.out); |
121 testCase.print(System.out); |
122 List<String> options = PLABUtils.prepareOptions(testCase.toOptions()); |
122 List<String> options = PLABUtils.prepareOptions(testCase.toOptions()); |
123 options.add(AppPLABPromotion.class.getName()); |
123 options.add(AppPLABPromotion.class.getName()); |
124 OutputAnalyzer out = ProcessTools.executeTestJvm(options.toArray(new String[options.size()])); |
124 OutputAnalyzer out = ProcessTools.executeTestJvm(options.toArray(new String[options.size()])); |
125 if (out.getExitValue() != 0) { |
125 PLABUtils.commonCheck(out); |
126 System.out.println(out.getOutput()); |
|
127 throw new RuntimeException("Expect exit code 0."); |
|
128 } |
|
129 output = out.getOutput(); |
126 output = out.getOutput(); |
130 checkResults(testCase); |
127 checkResults(testCase); |
131 } |
128 } |
132 } |
129 } |
133 |
130 |