Mercurial > hg > truffle
comparison test/runtime/6888954/vmerrors.sh @ 12822:cc4f5f8d885e
8023796: [TESTBUG] Add -XX:-TransmitErrorReport to runtime/6888954/vmerrors.sh
Summary: added -XX:-TransmitErrorReport to the test
Reviewed-by: stefank, ctornqvi
author | mseledtsov |
---|---|
date | Sun, 06 Oct 2013 16:13:50 +0200 |
parents | 59b052799158 |
children |
comparison
equal
deleted
inserted
replaced
12821:9c63ad02c0a4 | 12822:cc4f5f8d885e |
---|---|
1 # Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. | |
2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
3 # | |
4 # This code is free software; you can redistribute it and/or modify it | |
5 # under the terms of the GNU General Public License version 2 only, as | |
6 # published by the Free Software Foundation. | |
7 # | |
8 # This code is distributed in the hope that it will be useful, but WITHOUT | |
9 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
10 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
11 # version 2 for more details (a copy is included in the LICENSE file that | |
12 # accompanied this code). | |
13 # | |
14 # You should have received a copy of the GNU General Public License version | |
15 # 2 along with this work; if not, write to the Free Software Foundation, | |
16 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
17 # | |
18 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | |
19 # or visit www.oracle.com if you need additional information or have any | |
20 # questions. | |
21 # | |
22 | |
1 # @test | 23 # @test |
2 # @bug 6888954 | 24 # @bug 6888954 |
3 # @bug 8015884 | 25 # @bug 8015884 |
4 # @summary exercise HotSpot error handling code | 26 # @summary exercise HotSpot error handling code |
5 # @author John Coomes | 27 # @author John Coomes |
61 do | 83 do |
62 i2=$i | 84 i2=$i |
63 [ $i -lt 10 ] && i2=0$i | 85 [ $i -lt 10 ] && i2=0$i |
64 | 86 |
65 "$TESTJAVA/bin/java" $TESTVMOPTS -XX:+IgnoreUnrecognizedVMOptions \ | 87 "$TESTJAVA/bin/java" $TESTVMOPTS -XX:+IgnoreUnrecognizedVMOptions \ |
88 -XX:-TransmitErrorReport \ | |
66 -XX:ErrorHandlerTest=${i} -version > ${i2}.out 2>&1 | 89 -XX:ErrorHandlerTest=${i} -version > ${i2}.out 2>&1 |
67 | 90 |
68 # If ErrorHandlerTest is ignored (product build), stop. | 91 # If ErrorHandlerTest is ignored (product build), stop. |
69 # | 92 # |
70 # Using the built-in variable $! to get the pid does not work reliably on | 93 # Using the built-in variable $! to get the pid does not work reliably on |