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