Debian Codegraph @

test/bisect.sh

raw
1 #!/bin/sh
2
3 # Usage:
4
5 # Make a test and a golden file, read ./performtest.pl --help
6
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)
11
12 # Done
13
14
15 # Slow but sure
16 ./autogen.sh
17 ./configure
18 make
19
20 NASMDIR=$(pwd)
21 cd $(dirname "$0")
22 ./performtest.pl "--nasm=$NASMDIR/nasm" "$1.asm" --verbose