From: Christian Babeux Date: Fri, 22 Feb 2013 04:32:39 +0000 (-0500) Subject: Tests: Add runner script for tests X-Git-Tag: v2.2.0-rc1~60^2 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=0ea4ac57c12607472d511f7eadf2826056fbc018;hp=f134f7178a3d522b6e5946c19c1e209b4e0a7ab4;ds=inline Tests: Add runner script for tests Signed-off-by: Christian Babeux --- diff --git a/tests/Makefile.am b/tests/Makefile.am index d8c85bda2..b75de4959 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1 +1,4 @@ -SUBDIRS = regression unit +SUBDIRS = utils regression unit + +check-am: + ./run.sh diff --git a/tests/run.sh b/tests/run.sh new file mode 100755 index 000000000..d63c72b9b --- /dev/null +++ b/tests/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. +# +DIR=$(dirname $0) + +$DIR/regression/run.sh $@ +$DIR/unit/run.sh $@