X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Funit%2Frun.sh;h=d99a49325d5f0481c19ceba6b1430478bd8b7eee;hp=c6c50fd9cff94ecb02ef1e9b3eab2e98180043c6;hb=ad46005890368f9c306f0c510b3d4b08c47b66f8;hpb=9ee07024d322512ce099acb16774cec2766ab09f diff --git a/tests/unit/run.sh b/tests/unit/run.sh index c6c50fd..d99a493 100755 --- a/tests/unit/run.sh +++ b/tests/unit/run.sh @@ -17,6 +17,9 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # -[ -z "$1" ] && echo "Error: No testlist. Please specify a testlist to run." && exit 1 +INPUT=$1 +shift 1 -prove --merge --exec '' - < $1 +[ -z "${INPUT}" ] && echo "Error: No testlist. Please specify a testlist to run." && exit 1 + +prove ${*} --merge --exec '' - < ${INPUT}