Fix passing arguments to tests
This commit is contained in:
parent
ce5a97fd2e
commit
ce9f7e654a
|
@ -21,12 +21,7 @@ run_test() {
|
|||
return 1
|
||||
fi
|
||||
|
||||
if [ $# -eq 0 ]
|
||||
then
|
||||
LD_LIBRARY_PATH="obj" ${EXE} || return 1
|
||||
else
|
||||
LD_LIBRARY_PATH="obj" ${EXE} "$*" || return 1
|
||||
fi
|
||||
LD_LIBRARY_PATH="obj" "${EXE}" "$@" || return 1
|
||||
return 0
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue