bgneal@0: #!/bin/bash bgneal@0: bgneal@0: INCLUDES="-I../../fructose/include -I../../tclap-1.2.0/include" bgneal@0: bgneal@0: ../fructose_gen.py x1.h x2.h x3.h > x.cpp bgneal@0: #g++ -o x.out $INCLUDES x.cpp bgneal@0: bgneal@0: ../fructose_gen.py --generator g1.h g2.h g3.h > g.cpp bgneal@0: #g++ -o g.out $INCLUDES g.cpp bgneal@0: bgneal@0: diff x_expected.cpp x.cpp >/dev/null bgneal@0: if [ $? -eq 0 ]; then bgneal@0: echo "xunit style passed" bgneal@0: else bgneal@0: echo "xunit style failed" bgneal@0: fi bgneal@0: bgneal@0: diff g_expected.cpp g.cpp >/dev/null bgneal@0: if [ $? -eq 0 ]; then bgneal@0: echo "generator style passed" bgneal@0: else bgneal@0: echo "generator style failed" bgneal@0: fi