X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Funit%2Frun.sh;fp=tests%2Funit%2Frun.sh;h=c6c50fd9cff94ecb02ef1e9b3eab2e98180043c6;hb=1b3874915095deab4aa9be0f33423e992e571bb7;hp=0000000000000000000000000000000000000000;hpb=f356e6f340eae0be1d5560c44a84cb0ed3839632;p=urcu.git diff --git a/tests/unit/run.sh b/tests/unit/run.sh new file mode 100755 index 0000000..c6c50fd --- /dev/null +++ b/tests/unit/run.sh @@ -0,0 +1,22 @@ +#!/bin/bash +# +# Copyright (C) 2013 - Christian Babeux +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; only version 2 +# of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# 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 + +prove --merge --exec '' - < $1