Imported Upstream version 4.6.0
[debian/atlc] / tests / 1a-create_bmp_for_symmetrical_stripline.bmp.test
1 #! /bin/sh
2  
3 # If the user is building in a different directory to the 
4 # source, we want to be able to install the examples, 
5 # so copy those over. 
6
7 echo "Testing started at" `date` "on" `hostname` >  $top_builddir/tests/tests.log
8 mkdir $top_builddir/tmp 2>/dev/null >/dev/null
9 $top_builddir/src/non_gui/create_bmp_for_symmetrical_stripline -v 950 201 68 $top_builddir/tmp/test_sym_strip.bmp > /dev/null 2> /dev/null
10
11 MD5SUM=`$top_builddir/tools/src/mymd5sum $top_builddir/tmp/test_sym_strip.bmp`
12 if [ $MD5SUM = 74b72c91834147d14396cc25db7c9e14 ] ; then
13   echo "PASSED:" $0 >> tests.log 
14   exit 0
15 else
16   echo "FAILED:" $0  >> tests.log 
17   exit 1
18 fi
19 exit 0