Fix passing arguments to tests

This commit is contained in:
Laurence Withers 2008-10-30 00:38:30 +00:00
parent ce5a97fd2e
commit ce9f7e654a
1 changed files with 1 additions and 6 deletions

View File

@ -21,12 +21,7 @@ run_test() {
return 1 return 1
fi fi
if [ $# -eq 0 ] LD_LIBRARY_PATH="obj" "${EXE}" "$@" || return 1
then
LD_LIBRARY_PATH="obj" ${EXE} || return 1
else
LD_LIBRARY_PATH="obj" ${EXE} "$*" || return 1
fi
return 0 return 0
} }