mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
Same as: commit 497814f2f2828efdc5bdd787ebc490d5083f61b8 Author: Damien Lespiau <damien.lespiau@intel.com> Date: Tue Aug 20 14:52:05 2013 +0100 assembler: Revert "Automatically run all test cases." make check will define srcdir and buildir variables for us. This reverts commit 1c009349bc894bd195b5522540536898b0bee574.
12 lines
285 B
Bash
12 lines
285 B
Bash
#!/bin/sh
|
|
|
|
SRCDIR=${srcdir-`pwd`}
|
|
BUILDDIR=${top_builddir-`pwd`}
|
|
|
|
${BUILDDIR}/src/intel-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
|