test: nasm-t -- Add lnxhello
[nasm.git] / test / bisect.sh
blob98bdb37d286d2931363894bc63176853e7dceba0
1 #!/bin/sh
3 # Usage:
5 # Make a test and a golden file, read ./performtest.pl --help
7 # cd nasm
8 # cp -r test somewhere (copy test dir out of the tree)
9 # git bisect start HEAD nasm-2.07 (where HEAD is bad and nasm-2.07 is good)
10 # git bisect run somewhere/test/bisect.sh br2148476 (what you want to test)
12 # Done
15 # Slow but sure
16 ./autogen.sh
17 ./configure
18 make
20 NASMDIR=$(pwd)
21 cd $(dirname "$0")
22 ./performtest.pl "--nasm=$NASMDIR/nasm" "$1.asm" --verbose