X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Funit%2Frun.sh;h=d99a49325d5f0481c19ceba6b1430478bd8b7eee;hb=ad46005890368f9c306f0c510b3d4b08c47b66f8;hp=c6c50fd9cff94ecb02ef1e9b3eab2e98180043c6;hpb=1b3874915095deab4aa9be0f33423e992e571bb7;p=urcu.git 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}