2012-11-28 18:15:12 +01:00
|
|
|
#!/bin/sh -e
|
2012-11-29 06:46:58 +01:00
|
|
|
# Copyright (C) 2012 Bastian Kleineidam
|
2012-11-28 18:15:12 +01:00
|
|
|
set -u
|
|
|
|
# generates a convenience test script from failed tests
|
|
|
|
|
|
|
|
script=test.sh
|
|
|
|
|
|
|
|
rm -f "$script"
|
|
|
|
echo "#!/bin/sh -e" > "$script"
|
2012-12-08 00:45:18 +01:00
|
|
|
egrep -v "^\. " testresults.txt | egrep "^F " | cut -b "3-" | sort | awk '{ print "make test PYTESTOPTS=--tb=short TESTS=" $0; }' >> "$script"
|
2012-11-28 18:15:12 +01:00
|
|
|
chmod 755 "$script"
|