more ices
[ICEs.git] / bfin-strcmp / reduce-ice
1 #!/bin/bash
2 #
3 # Run like:
4 # multidelta -level=# ./reduce-ice $FILE
5 # levels: 0 0 1 1 2 2 10 10
6 #
7
8 FILE=test.i
9 CC=bfin-uclinux-gcc
10 CFLAGS="-O1 -Werror"
11
12 set -e
13 $CC -pipe $CFLAGS $FILE -o test -Wl,-elf2flt
14 rcp test root@192.168.0.16:/
15 rsh -l root 192.168.0.16 /test | grep 'FAIL'