2 # A bitmap is created of a symmetrical_stripline. By adding the -v option
3 # to create_bmp_for_symmetrical_stripline the theoretical impedance
5 # atlc is then called, and its eastimate calaculated, which will differ
6 # slightly from the theoretical data
9 #: ${Zoatlc='iofdklkljf'}
11 if [ "x$mpirun_found" = "xyes" ] ; then
12 ZoTheory=`$top_builddir/src/non_gui/create_bmp_for_symmetrical_stripline -v 1134 201 290 $top_builddir/tmp/50ohm-201h.bmp | awk '{print $4}'`
13 Zoatlc=`mpirun -np 2 $top_builddir/src/non_gui/atlc -S $top_builddir/tmp/50ohm-201h.bmp | awk '{print $6}'`
15 ZoTheory=`$top_builddir/src/non_gui/create_bmp_for_symmetrical_stripline -v 1134 201 290 $top_builddir/tmp/50ohm-201h.bmp | awk '{print $4}'`
16 Zoatlc=`$top_builddir/src/non_gui/atlc -S $top_builddir/tmp/50ohm-201h.bmp | awk '{print $6}'`
19 touch $top_builddir/tmp/50ohm-201h.bmp $top_builddir/tmp/50ohm-201h.Ex.bmp
20 MD5SUM=`$top_builddir/tools/src/mymd5sum $top_builddir/tmp/50ohm-201h.bmp`
21 EXMD5SUM=`$top_builddir/tools/src/mymd5sum $top_builddir/tmp/50ohm-201h.Ex.bmp`
23 #echo "Zoth=$ZoTheory Zoatlc=$Zoatlc md5=$MD5SUM exmd5=$EXMD5SUM"
25 if test -z "$ZoTheory" ; then
29 if test -z "$Zoatlc" ; then
33 if test -z "$MD5SUM" ; then
37 if test -z "$EXMD5SUM" ; then
41 if [ $ZoTheory = 49.989477 ] && [ $Zoatlc = 49.899 ] && [ $MD5SUM = dae5292fe04dfd64abe1ae4e926d7365 ] && [ $EXMD5SUM = 03bdcc0c9f6361f2630f77817b8684d9 ]; then
42 rm -f $top_builddir/tmp/50ohm-201h.bmp $top_builddir/tmp/50ohm-201h.Ex.bmp
43 rm -f $top_builddir/tmp/50ohm-201h.Ey.bmp $top_builddir/tmp/50ohm-201h.E.bmp
44 rm -f $top_builddir/tmp/50ohm-201h.U.bmp $top_builddir/tmp/50ohm-201h.V.bmp
45 rm -f $top_builddir/tmp/50ohm-201h.Er.bmp
47 echo "PASSED:" $0 >> tests.log
50 echo "FAILED:" $0 >> tests.log