1 #!/bin/sh 2 #PHASE=build 3 PHASE=final_testing 4 echo PHASE ${PHASE} 5 set -x 6 #echo skipped 7 #exit 0 8 if [ ! -d common ]; 9 then 10 echo Unknown dir common >&2 11 exit 1 12 fi 13 rm -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 15 rm -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 17 if [ -f .failure ]; 18 then 19 echo "FAIL" 20 exit 1 21 fi 22 23 24