2249 |
12 May 06 |
nicklas |
# $Id$ |
2249 |
12 May 06 |
nicklas |
2 |
# |
2249 |
12 May 06 |
nicklas |
# Copyright (C) 2006 Nicklas Nordborg |
2249 |
12 May 06 |
nicklas |
4 |
# |
2249 |
12 May 06 |
nicklas |
# This file is part of BASE - BioArray Software Environment. |
2249 |
12 May 06 |
nicklas |
# Available at http://base.thep.lu.se/ |
2249 |
12 May 06 |
nicklas |
7 |
# |
2249 |
12 May 06 |
nicklas |
# BASE is free software; you can redistribute it and/or modify it |
2249 |
12 May 06 |
nicklas |
# under the terms of the GNU General Public License as published by |
4480 |
05 Sep 08 |
jari |
# the Free Software Foundation; either version 3 of the License, or |
2249 |
12 May 06 |
nicklas |
# (at your option) any later version. |
2249 |
12 May 06 |
nicklas |
12 |
# |
2249 |
12 May 06 |
nicklas |
# BASE is distributed in the hope that it will be useful, but |
2249 |
12 May 06 |
nicklas |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
2249 |
12 May 06 |
nicklas |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
2249 |
12 May 06 |
nicklas |
# General Public License for more details. |
2249 |
12 May 06 |
nicklas |
17 |
# |
2249 |
12 May 06 |
nicklas |
# You should have received a copy of the GNU General Public License |
4514 |
11 Sep 08 |
jari |
# along with BASE. If not, see <http://www.gnu.org/licenses/>. |
2249 |
12 May 06 |
nicklas |
20 |
# ---------------------------------------- |
2249 |
12 May 06 |
nicklas |
21 |
|
2249 |
12 May 06 |
nicklas |
# Import CLASSPATH($CP) |
2249 |
12 May 06 |
nicklas |
23 |
. ./set_classpath.sh |
2249 |
12 May 06 |
nicklas |
24 |
|
2249 |
12 May 06 |
nicklas |
# Execute test class |
2249 |
12 May 06 |
nicklas |
26 |
|
2249 |
12 May 06 |
nicklas |
# Which package to test is the first parameter |
2249 |
12 May 06 |
nicklas |
28 |
package=$1 |
2249 |
12 May 06 |
nicklas |
29 |
|
2249 |
12 May 06 |
nicklas |
# Remaining parameters are sent to the test program |
2249 |
12 May 06 |
nicklas |
31 |
shift 1 |
2249 |
12 May 06 |
nicklas |
32 |
|
2249 |
12 May 06 |
nicklas |
# Execute test: -ea = enable asserts; -server = server mode |
5031 |
28 Jul 09 |
nicklas |
34 |
nice java -Xmx512M -Xms128M -ea -server -cp $CP -Dcom.sun.media.jai.disableMediaLib=true net.sf.basedb.test.$package.Run $* |