mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 12:52:55 +00:00
Add more unary operation tests.
This commit is contained in:
committed by
Damien Lespiau
parent
e3cc73bec4
commit
863cd6a5b7
@@ -1,9 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
TESTDIR=${srcdir-`pwd`}
|
||||
SRCDIR=${srcdir-`pwd`}
|
||||
BUILDDIR=${top_builddir-`pwd`}
|
||||
|
||||
${BUILDDIR}/src/gen4asm -o TEST.out $TESTDIR/TEST.g4a
|
||||
if cmp TEST.out ${TESTDIR}/TEST.expected; then : ; else
|
||||
${BUILDDIR}/src/gen4asm -o TEST.out $SRCDIR/TEST.g4a
|
||||
if cmp 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
|
||||
|
||||
Reference in New Issue
Block a user