12 lines
276 B
Bash
12 lines
276 B
Bash
|
#!/bin/sh -e
|
||
|
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-" | awk '{ print "make test TESTS=" $0; }' >> "$script"
|
||
|
chmod 755 "$script"
|
||
|
|