Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 12 lines (12 sloc) 326 Bytes
#!/bin/sh
if [ -z "$1" ]; then
echo "Usage: $0 TEST_PREFIX"
exit
fi
cat /dev/null > /tmp/bisect.sh
chmod +x /tmp/bisect.sh
cp "test/$1".* /tmp || exit
echo "make && ./parsley /tmp/$1.let /tmp/$1.html 2>&1 | diff /tmp/$1.json -" >> /tmp/bisect.sh
cat /tmp/bisect.sh
echo "-------------"
echo "git bisect run /tmp/bisect.sh"