cvsuser 02/11/04 09:15:20
Added: . testyamd
Log:
run parrot tests with YAMD
Revision Changes Path
1.1 parrot/testyamd
Index: testyamd
===================================================================
#!/bin/sh
#
# run parrot tests under run-yamd
#
cleanup() {
mv parrot.orig parrot
exit
}
trap cleanup 1 2 3
mv parrot parrot.orig
echo "run-yamd -l2 -n ./parrot.orig $@ \$@ 2>&1 | perl -ne'
BEGIN { undef $/; $|=1; };
print \$1 if (/\*{9,9}\n(.*?)\*{9,9}/s);
print \$1 if (/((?:WARNI|ERROR).*)/);
1;'" > parrot
chmod 755 parrot
make test
cleanup