Imported Upstream version 4.6.0
[debian/atlc] / tests / 1n-create_bmp_for_symmetrical_stripline.V.bin.test
1 #! /bin/sh
2 # It is pointless checking the checksum's on binary files as they will
3 # differ on differnt Endian'ness and with different rounding errors on FP
4 # units. Hence only the length is checked on the binary files
5
6 touch $top_builddir/tmp/test_sym_strip.V.bin
7
8 LENGTH=`$top_builddir/tools/src/myfilelength $top_builddir/tmp/test_sym_strip.V.bin`
9 if [ $LENGTH = 1603600 ]; then
10   rm $top_builddir/tmp/test_sym_strip.V.bin  $top_builddir/tmp/test_sym_strip.bmp
11   echo "PASSED:" $0 >> tests.log
12   exit 0
13 else
14   echo "FAILED:" $0  >> tests.log
15   exit 1
16 fi