Apply patch from Daniel Schürmann: https://sourceforge.net/p/boomerang/bugs/78/
[boomerang.git] / boomerang / testPent
blob30c08223255e6fc8612c1335ec9f6d89a8971701
1 echo pentium $1
2 rm -f functest/code
3 ./boomerang -o functest test/pentium/$1 2>/dev/null >/dev/null
4 if [[ ! -f functest/code ]]; then
5    exit 10
6 fi
7 cp functest/code functest.c
8 gcc -o functest.exe functest.c
9 if [[ $? != 0 ]]; then
10    exit 11
12 ./functest.exe > functest.out
13 diff -c test/pentium/$1.out functest.out