parallel/unittest/Start.sh
Ole Tange 914df8e1e7 Implemented ::::.
FIXED BUG: Dependent quoting of arguments after :::.
2010-07-14 12:00:10 +02:00

16 lines
263 B
Bash

#!/bin/bash
export LANG=C
SHFILE=/tmp/unittest-parallel.sh
ls -t tests-to-run/test*.sh \
| perl -pe 's:(.*/(.*)).sh:bash $1.sh > actual-results/$2; diff -Naur wanted-results/$2 actual-results/$2:' \
>$SHFILE
mkdir -p actual-results
sh -x $SHFILE
rm $SHFILE