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:
parent
4d84a90fa9
commit
415d5069f4
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user