X-Git-Url: https://git.gag.com/?p=debian%2Fatlc;a=blobdiff_plain;f=tests%2F6a-create_and_check_25ohm_201Pixel_high_symmetrical_stripline.test;fp=tests%2F6a-create_and_check_25ohm_201Pixel_high_symmetrical_stripline.test;h=85db4c47e4ec6ffa45f37e66bbcfe77f9db6c1f7;hp=bf59a60f84098c928b507434377ca4e230f24fb4;hb=6b66971c81ba66fc706c04decfa5a69a19e57c4d;hpb=a51f9bc3e458756855df5ab51a7e7ec015a9aebd diff --git a/tests/6a-create_and_check_25ohm_201Pixel_high_symmetrical_stripline.test b/tests/6a-create_and_check_25ohm_201Pixel_high_symmetrical_stripline.test index bf59a60..85db4c4 100755 --- a/tests/6a-create_and_check_25ohm_201Pixel_high_symmetrical_stripline.test +++ b/tests/6a-create_and_check_25ohm_201Pixel_high_symmetrical_stripline.test @@ -6,16 +6,16 @@ # slightly from the theoretical data # Create a bitmap and compute its theeoretical impedance. -ZoTheory=`$top_builddir/src/non_gui/create_bmp_for_symmetrical_stripline -v 1512 201 668 $top_builddir/tmp/25ohm-201h.bmp | awk '{print $4}'` +ZoTheory=`$top_builddir/src/create_bmp_for_symmetrical_stripline -v 1512 201 668 $top_builddir/tmp/25ohm-201h.bmp | awk '{print $4}' | tail -1` # Generate a checksum for the file created MD5SUM=`$top_builddir/tools/src/mymd5sum $top_builddir/tmp/25ohm-201h.bmp` -# Now run atlc on this bitmap and check it close to that computed. +# Now run atlc on this bitmap and check it is close to that computed. if [ "x$mpirun" = "xyes" ] ; then - Zoatlc=`mpirun -np 2 $top_builddir/src/non_gui/atlc -S $top_builddir/tmp/25ohm-201h.bmp | awk '{print $6}'` + Zoatlc=`mpirun -np 2 $top_builddir/src/atlc -S $top_builddir/tmp/25ohm-201h.bmp | awk '{print $6}' | tail -1` else - Zoatlc=`$top_builddir/src/non_gui/atlc -S $top_builddir/tmp/25ohm-201h.bmp | awk '{print $6}'` + Zoatlc=`$top_builddir/src/atlc -S $top_builddir/tmp/25ohm-201h.bmp | awk '{print $6}' | tail -1 ` fi # Generate a checksum for a file created by atlc. @@ -27,17 +27,16 @@ fi # "Zo theory = " $ZoTheory "Zo altc= " $Zoatlc " cksum of bitmap" $MD5SUM "cksum of .Ex.bmp= " $EXMD5SUM - -if [ $ZoTheory = 25.017590 ] && [ $Zoatlc = 24.932 ] && [ $MD5SUM = 44e86f6bcec1a61db9564040ec93557c ] && [ $EXMD5SUM = 499efd42aa2610c23f6995071e060e69 ] ; then # Remvove the unwanted files. - rm $top_builddir/tmp/25ohm-201h.Ex.bmp - rm $top_builddir/tmp/25ohm-201h.bmp - rm $top_builddir/tmp/25ohm-201h.Ey.bmp - rm $top_builddir/tmp/25ohm-201h.E.bmp - rm $top_builddir/tmp/25ohm-201h.V.bmp - rm $top_builddir/tmp/25ohm-201h.U.bmp - rm $top_builddir/tmp/25ohm-201h.Er.bmp +rm $top_builddir/tmp/25ohm-201h.Ex.bmp +rm $top_builddir/tmp/25ohm-201h.bmp +rm $top_builddir/tmp/25ohm-201h.Ey.bmp +rm $top_builddir/tmp/25ohm-201h.E.bmp +rm $top_builddir/tmp/25ohm-201h.V.bmp +rm $top_builddir/tmp/25ohm-201h.U.bmp +rm $top_builddir/tmp/25ohm-201h.Er.bmp +if [ $ZoTheory = 25.017590 ] && [ $Zoatlc = 24.932 ] && [ $MD5SUM = 44e86f6bcec1a61db9564040ec93557c ] && [ $EXMD5SUM = 499efd42aa2610c23f6995071e060e69 ] ; then echo "PASSED:" $0 >> tests.log exit 0 else