root/trunk/ProjectFortress/junit

Revision 729, 1.2 kB (checked in by chf, 1 year ago)

Various fixes to getting the current task. This should address the nested transaction problem.

  • Property svn:executable set to *
Line 
1 #!/bin/bash
2
3 ################################################################################
4 #    Copyright 2007 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 # Runs junit in a text window, because sometimes, that is what you want.
21
22 if (uname | egrep -q CYGWIN) ; then
23   CP="build;third_party/junit/junit.jar;third_party/xtc/xtc.jar;third_party/jsr166y/jsr166y.jar;third_party/plt/plt.jar"
24 else
25   CP="build:third_party/junit/junit.jar:third_party/xtc/xtc.jar:third_party/jsr166y/jsr166y.jar:third_party/plt/plt.jar"
26 fi
27
28 java -cp "$CP" -Xmx320m -Xms192m \
29 junit.textui.TestRunner "$@"
Note: See TracBrowser for help on using the browser.