PageRenderTime 22ms CodeModel.GetById 18ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/generate_bisect.sh

http://github.com/fizx/parsley
Shell | 12 lines | 11 code | 0 blank | 1 comment | 3 complexity | fe572f98210724123a58a4de45af62e1 MD5 | raw file
 1#!/bin/sh
 2if [ -z "$1" ]; then
 3  echo "Usage: $0 TEST_PREFIX"
 4  exit
 5fi
 6cat /dev/null > /tmp/bisect.sh
 7chmod +x /tmp/bisect.sh
 8cp "test/$1".* /tmp || exit
 9echo "make && ./parsley /tmp/$1.let /tmp/$1.html 2>&1 | diff /tmp/$1.json -" >> /tmp/bisect.sh
10cat /tmp/bisect.sh
11echo "-------------"
12echo "git bisect run /tmp/bisect.sh"