Commit 5b4c3925 authored by Wouter van Oortmerssen's avatar Wouter van Oortmerssen Committed by Android (Google) Code Review

Merge "show absolute path to user when aborting" into ub-games-master

parents 82ef4ae2 0b60ece4
...@@ -18,11 +18,12 @@ LICENSE ...@@ -18,11 +18,12 @@ LICENSE
echo echo
echo Compile then run the Java test. echo Compile then run the Java test.
testdir=$(dirname $0) testdir=$(readlink -fn `dirname $0`)
thisdir=$(readlink -fn `pwd`)
if [[ "$testdir" != "." ]]; then if [[ "$testdir" != "$thisdir" ]]; then
echo error: must be run from inside the ./tests directory echo error: must be run from inside the ${testdir} directory
echo you ran it from `pwd` echo you ran it from ${thisdir}
exit 1 exit 1
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment