|
Revision 3040, 1.4 KB
(checked in by dr2chase, 13 months ago)
|
|
Trimmed memory consumption
|
| Rev | Line | |
|---|
| [3040] | 1 | #!/bin/bash |
|---|
| 2 | |
|---|
| 3 | ################################################################################ |
|---|
| 4 | # Copyright 2008 Sun Microsystems, Inc., |
|---|
| 5 | # 4150 Network Circle, Santa Clara, California 95054, U.S.A. |
|---|
| 6 | # All rights reserved. |
|---|
| 7 | # |
|---|
| 8 | # U.S. Government Rights - Commercial software. |
|---|
| 9 | # Government users are subject to the Sun Microsystems, Inc. standard |
|---|
| 10 | # license agreement and applicable provisions of the FAR and its supplements. |
|---|
| 11 | # |
|---|
| 12 | # Use is subject to license terms. |
|---|
| 13 | # |
|---|
| 14 | # This distribution may include materials developed by third parties. |
|---|
| 15 | # |
|---|
| 16 | # Sun, Sun Microsystems, the Sun logo and Java are trademarks or registered |
|---|
| 17 | # trademarks of Sun Microsystems, Inc. in the U.S. and other countries. |
|---|
| 18 | ################################################################################ |
|---|
| 19 | |
|---|
| 20 | if (uname | egrep -q CYGWIN) ; then |
|---|
| 21 | CP="build;third_party/junit/junit.jar;third_party/unsigned/unsigned.jar;third_party/asm/asm-3.1.jar;third_party/xtc/xtc.jar;third_party/jsr166y/jsr166y.jar;third_party/plt/plt.jar;third_party/astgen/astgen.jar" |
|---|
| 22 | else |
|---|
| 23 | CP="build:third_party/junit/junit.jar:third_party/unsigned/unsigned.jar:third_party/asm/asm-3.1.jar:third_party/xtc/xtc.jar:third_party/jsr166y/jsr166y.jar:third_party/plt/plt.jar:third_party/astgen/astgen.jar" |
|---|
| 24 | fi |
|---|
| 25 | |
|---|
| 26 | # -agentlib:hprof=doe=y,format=b,heap=dump |
|---|
| 27 | |
|---|
| 28 | java -cp "$CP" -Xmx800m -Xms400m -Dfortress.test.leaks=t \ |
|---|
| 29 | junit.swingui.TestRunner \ |
|---|
| 30 | com.sun.fortress.tests.unit_tests.SystemJUTest >& test.log |
|---|