Imported Upstream version 4.6.0
[debian/atlc] / tests / 7n-create_bmp_for_stripline_coupler.bmp.pre-atlc.txt.test
1 #! /bin/sh
2 touch $top_builddir/tmp/test_stripline_coupler2.bmp
3
4 Zodd=`$top_builddir/src/non_gui/create_bmp_for_stripline_coupler -vv -b 16 1 1 0.05 1.0 $top_builddir/tmp/test_stripline_coupler2.bmp | tail -4 | head -1 | awk '{print $2}'` 
5 Zeven=`$top_builddir/src/non_gui/create_bmp_for_stripline_coupler -vv -b 16 1 1 0.05 1.0 $top_builddir/tmp/test_stripline_coupler2.bmp | tail -4 | head -1 | awk '{print $4}'` 
6 Zo=`$top_builddir/src/non_gui/create_bmp_for_stripline_coupler -vv -b 16 1 1 0.05 1.0 $top_builddir/tmp/test_stripline_coupler2.bmp | tail -4 | head -1 | awk '{print $6}'` 
7
8 if [ $Zodd = 45.839308 ] && [ $Zeven = 75.669832 ] && [ $Zo = 58.895269 ] ; then
9   rm -f $top_builddir/tmp/test_stripline_coupler2.bmp
10   echo "PASSED:" $0 >> tests.log
11   exit 0
12 else
13   echo "FAILED:" $0 >> tests.log
14   exit 1
15 fi
16