1
0
Files
2022-09-29 17:59:04 +03:00

21 lines
391 B
Bash
Executable File

#!/bin/sh -
#
# Usage:
# TESTALL <pmake-to-test>
#
# Places output in /tmp/pmake.output
#
file=/tmp/pmake.output
:> $file
trap "rm -f ucb openStreams openStreams.o ucb.o ucb.c; exit 0" 0 1 2 15
echo routing output to $file
for i in ${2-*.test};
do
echo '*** Testing' $i | tee -a $file
echo "" >> $file
$1 -f $i 2>&1 | tee -a $file
echo "" >> $file
echo "" >> $file
done