dosage/scripts/mktestscript.sh
Bastian Kleineidam 45df462a47 Fix some comics.
2012-12-02 18:35:06 +01:00

11 lines
343 B
Bash
Executable file

#!/bin/sh -e
# Copyright (C) 2012 Bastian Kleineidam
set -u
# generates a convenience test script from failed tests
script=test.sh
rm -f "$script"
echo "#!/bin/sh -e" > "$script"
egrep -v "^\. " testresults.txt | egrep "^F " | cut -b "3-" | sort | awk '{ print "make test TESTOUTPUT=/dev/null TESTS=" $0; }' >> "$script"
chmod 755 "$script"