[svn r251] fixed arguments checking in runtest script

This commit is contained in:
Christian Kamm
2008-06-08 12:06:22 +02:00
parent 28382e3567
commit 2f590b41e3

View File

@@ -1,7 +1,7 @@
#!/bin/bash
# check for command line arguments
if [ -z $1 ] ; then
if [ -z "$1" ] ; then
echo "Usage: `basename $0` <test result file>"
exit
fi
@@ -33,7 +33,7 @@ echo
echo "Running new test and storing result in $TARGETFILE ..."
echo
if [ -z $DMD ] ; then
if [ -z "$DMD" ] ; then
echo "Testing with llvmdc. Set DMD environment variable to select compiler."
DMD="llvmdc -O0"
else