#! /bin/sh # There should be a supplied bitmap file test-coupler1.bmp # We will generate all the bitmaps and check they # are all okay. if [ "$mpirun" = "yes" ] ; then mpirun -np 2 $top_builddir/src/atlc -S $top_builddir/tmp/test-coupler1.bmp > /dev/null rm $top_builddir/tmp/test-coupler1.Ex.odd.bmp else $top_builddir/src/atlc -S $top_builddir/tmp/test-coupler1.bmp > /dev/null fi touch $top_builddir/tmp/test-coupler1.Ex.odd.bmp MD5SUM=`$top_builddir/tools/src/mymd5sum $top_builddir/tmp/test-coupler1.Ex.odd.bmp` rm $top_builddir/tmp/test-coupler1.Ex.odd.bmp if [ $MD5SUM != 5309c7bfa4aeb3d2b8bfa211587e59fe ]; then echo "FAILED:" $0 >> tests.log exit 1 else echo "PASSED:" $0 >> tests.log exit 0 fi