Refactor tests
[urcu.git] / tests / unit / run.sh
index c6c50fd9cff94ecb02ef1e9b3eab2e98180043c6..d99a49325d5f0481c19ceba6b1430478bd8b7eee 100755 (executable)
@@ -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}
This page took 0.022423 seconds and 4 git commands to generate.