- use the OS's temporary dir instead of an internal dir

- make windmill exit after the tests, silence some of its output and make the test results get out


git-svn-id: http://google-refine.googlecode.com/svn/trunk@760 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Stefano Mazzocchi 2010-05-13 22:44:19 +00:00
parent ea459aed07
commit 2703457863

View File

@ -489,7 +489,7 @@ ui_test() {
windmill_prepare
GRIDWORKS_DATA_DIR="${GRIDWORKS_TEST_DIR}/temp"
GRIDWORKS_DATA_DIR="${TMPDIR}/gridworks-tests"
add_option "-Dgridworks.headless=true"
@ -510,9 +510,9 @@ ui_test() {
echo "Starting Windmill... (press COMMAND-c or CTRL-c to exit)"
if [ -z "$INTERACTIVE" ]; then
"$WINDMILL" firefox http://${GRIDWORKS_HOST}:${GRIDWORKS_PORT}/ jsdir=$GRIDWORKS_TEST_DIR/windmill/js > /dev/null
"$WINDMILL" firefox firebug loglevel=WARN http://${GRIDWORKS_HOST}:${GRIDWORKS_PORT}/ jsdir=$GRIDWORKS_TEST_DIR/windmill/js exit
else
"$WINDMILL" firefox http://${GRIDWORKS_HOST}:${GRIDWORKS_PORT}/ > /dev/null
"$WINDMILL" firefox firebug loglevel=WARN http://${GRIDWORKS_HOST}:${GRIDWORKS_PORT}/
fi
echo ""