2 # Check only that atlc can correctly calculate the impedance Zo given a valid bitmap
3 # This does not require that any of the programs create_bmp_for* work.
5 # Delete any files that may be left by mistake
7 # There should now be no coax2* files, except $top_srcdir/examples/coax2.bmp
8 rm -f $top_builddir/tmp/coax2.*
9 cp $top_srcdir/examples/coax2.bmp $top_builddir/tmp
11 # Add the -S and -s options together to prevent all ( .bmp or .bin files ) being created.
12 if [ "$mpirun_found" = "yes" ] ; then
13 Zo=`mpirun -np 2 $top_builddir/src/non_gui/atlc -s -S $top_builddir/tmp/coax2.bmp | awk '{print $6}'`
15 Zo=`$top_builddir/src/non_gui/atlc -s -S $top_builddir/tmp/coax2.bmp | awk '{print $6}'`
18 if [ $Zo != 70.199 ] ; then
19 echo "FAILED:" $0 >> tests.log
23 rm -f $top_builddir/tmp/coax2.bmp
24 echo "PASSED:" $0 >> tests.log