OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [gas/] [testsuite/] [lib/] [dotest] - Rev 438

Go to most recent revision | Compare with Previous | Blame | View Log

#!/bin/sh
# ad hoc debug tool

x=$1
y=$2

xout=`basename $x`.xxx.$$
yout=`basename $x`.yyy.$$

mkdir $xout
mkdir $yout

for i in *.s
do
        echo Testing $i...
        object=`basename $i .s`.o
        $x $i -o $xout/$object
        $y $i -o $yout/$object

# if they cmp, we're ok.  Otherwise we have to look closer.

        if (cmp $xout/$object $yout/$object)
        then
                echo $i is ok.
        else
                if (doobjcmp $xout/$object $yout/$object)
                then
                        echo Not the same but objcmp ok.
                else
                        exit 1
                fi
        fi

        echo
done

rm -rf $xout $yout

exit 0

# EOF


Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.