Tests: Use Perl prove as the testsuite runner
[lttng-tools.git] / tests / run.sh
index d63c72b9be7aada31f652c7f0fa2e175b2e127a8..c6c50fd9cff94ecb02ef1e9b3eab2e98180043c6 100755 (executable)
@@ -16,7 +16,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #
 # 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 $@
+[ -z "$1" ] && echo "Error: No testlist. Please specify a testlist to run." && exit 1
+
+prove --merge --exec '' - < $1
This page took 0.02404 seconds and 4 git commands to generate.