From 0ea4ac57c12607472d511f7eadf2826056fbc018 Mon Sep 17 00:00:00 2001 From: Christian Babeux Date: Thu, 21 Feb 2013 23:32:39 -0500 Subject: [PATCH] Tests: Add runner script for tests Signed-off-by: Christian Babeux --- tests/Makefile.am | 5 ++++- tests/run.sh | 22 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100755 tests/run.sh 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 $@ -- 2.34.1