1#!/bin/sh
2#PHASE=build
3PHASE=final_testing
4echo PHASE ${PHASE}
5set -x
6#echo skipped
7#exit 0
8if [ ! -d common ];
9then
10	echo Unknown dir common >&2
11	exit 1
12fi
13rm -rf ${BUILDER_DIR}/cldr-tmp 2>/dev/null
14#env JAVA_OPTS="-DCLDR_DIR=. -Dfile.encoding=UTF-8 -DSHOW_FILES -Xmx1000M" ~/bin-build/ConsoleCheckCLDR -g -c minimal -e '-t((?!.*Check(Coverage|Attribute)).*)' -z final_testing
15rm -f .failure
16( env JAVA_OPTS="-DCLDR_DIR=. -Dfile.encoding=UTF-8 -DSHOW_FILES -Xmx3000M" ConsoleCheckCLDR  -e -z ${PHASE} 2>&1 || touch .failure ) | tee testlog.txt
17if [ -f .failure ];
18then
19	echo "FAIL"
20	exit 1
21fi
22
23
24