You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
574 B
34 lines
574 B
#!/bin/sh
|
|
set -x
|
|
case `uname -p` in
|
|
i586)
|
|
SIZES="-DJVM_EXTRA_OPTIONS=-Xmx2100m"
|
|
;;
|
|
|
|
powerpc)
|
|
SIZES="-DJVM_EXTRA_OPTIONS=-Xmx5000m"
|
|
;;
|
|
|
|
x86_64)
|
|
SIZES="-DJVM_EXTRA_OPTIONS=-Xmx4500m"
|
|
;;
|
|
|
|
*)
|
|
SIZES="-DJVM_EXTRA_OPTIONS=-Xmx2000m"
|
|
;;
|
|
esac
|
|
if [ -d tools/cldr-unittest ];
|
|
then
|
|
# from r10119 unittests are in tools/cldr-unittest
|
|
cd tools/cldr-unittest
|
|
elif [ -d tools/java ];
|
|
then
|
|
cd tools/java
|
|
else
|
|
echo Cant find test dir
|
|
pwd
|
|
exit 1
|
|
fi
|
|
exec ant -f build.xml -DCLDR_DIR=../.. ${SIZES} check
|
|
|