diff options
author | Tharre <tharre3@gmail.com> | 2015-07-13 15:34:43 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2015-07-13 15:34:43 +0200 |
commit | 87196f9900974a1ecc7bd5f07768f65dd1eb53e9 (patch) | |
tree | 0f11865f75dd30c90ba691ffb1fe6c0bb6bf6a85 /tests/all.do | |
parent | 54d6f97c895490e2699e560990b37df95f3d1d87 (diff) | |
download | redo-87196f9900974a1ecc7bd5f07768f65dd1eb53e9.tar.gz redo-87196f9900974a1ecc7bd5f07768f65dd1eb53e9.tar.xz redo-87196f9900974a1ecc7bd5f07768f65dd1eb53e9.zip |
Replace Makefile with all.do
Diffstat (limited to 'tests/all.do')
-rw-r--r-- | tests/all.do | 29 |
1 files changed, 29 insertions, 0 deletions
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 |