blob: 0a5252a89dc7e05a766f632999ebd2547e6df07b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
SRCDIR=${srcdir-`pwd`}
BUILDDIR=${top_builddir-`pwd`}
test="TEST"
if [[ "$1" != "" ]] ; then
test="$1"
fi
test -d ${BUILDDIR}/test || mkdir ${BUILDDIR}/test/
${BUILDDIR}/intel-gen4asm -o ${BUILDDIR}/${test}.out $SRCDIR/${test}.g4a
if cmp ${BUILDDIR}/${test}.out ${SRCDIR}/${test}.expected 2> /dev/null; then : ; else
echo "Output comparison for ${test}"
diff -u ${SRCDIR}/${test}.expected ${test}.out
exit 1;
fi
|