1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

Fix a bashism in TestRunner.sh.

llvm-svn: 54134
This commit is contained in:
Dan Gohman 2008-07-28 18:41:03 +00:00
parent 4d84a90fa9
commit 415d5069f4

View File

@ -13,7 +13,7 @@
#
TESTPATH=`pwd`
SUBDIR=""
if test `dirname $1` == "." ; then
if test `dirname $1` = "." ; then
while test `basename $TESTPATH` != "test" -a ! -z "$TESTPATH" ; do
tmp=`basename $TESTPATH`
SUBDIR="$tmp/$SUBDIR"
@ -22,7 +22,7 @@ if test `dirname $1` == "." ; then
fi
for TESTFILE in "$@" ; do
if test `dirname $TESTFILE` == . ; then
if test `dirname $TESTFILE` = . ; then
if test -d "$TESTPATH" ; then
cd $TESTPATH
make check-one TESTONE="$SUBDIR$TESTFILE"