mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-22 20:26:31 +00:00
Fix a bashism in TestRunner.sh.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54134 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8aa895b19a
commit
171f3dcff1
@ -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