From 87196f9900974a1ecc7bd5f07768f65dd1eb53e9 Mon Sep 17 00:00:00 2001 From: Tharre Date: Mon, 13 Jul 2015 15:34:43 +0200 Subject: Replace Makefile with all.do --- tests/all.do | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tests/all.do (limited to 'tests/all.do') diff --git a/tests/all.do b/tests/all.do new file mode 100644 index 0000000..9f63d1f --- /dev/null +++ b/tests/all.do @@ -0,0 +1,29 @@ +#!/bin/sh -e +# Copyright (c) 2015 Tharre +# +# This software may be modified and distributed under the terms +# of the MIT license. See the LICENSE file for details. + +# don't reuse existing redo session +unset REDO_ROOT +unset REDO_MAGIC +unset REDO_PARENT_TARGET + +T=*.t + +# pre-clean +rm -rf test-results + +# T +for i in $T; do + echo "*** $i ***" + ./$i +done + +# aggregate-results +for f in test-results/*.counts; do + echo "$f" +done | ./aggregate-results.sh + +# cleanup +rm -rf "trash directory.*" test-results .prove -- cgit v1.2.3-70-g09d2