aboutsummaryrefslogtreecommitdiffstats
path: root/tests/all.do
blob: 9f63d1f91b9bd3c917026ee63189309fd222893c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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