mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-27 09:46:28 +00:00
assembler: Revert "Fix missing environment variables problem in test/run-test.sh"
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.
This commit is contained in:
parent
497814f2f2
commit
63720a4f86
@ -1,13 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
DIR="$( cd -P "$( dirname "$0" )" && pwd )"
|
SRCDIR=${srcdir-`pwd`}
|
||||||
|
BUILDDIR=${top_builddir-`pwd`}
|
||||||
|
|
||||||
${DIR}/../src/intel-gen4asm -o TEST.out ${DIR}/TEST.g4a
|
${BUILDDIR}/src/intel-gen4asm -o TEST.out $SRCDIR/TEST.g4a
|
||||||
if cmp TEST.out ${DIR}/TEST.expected 2> /dev/null;
|
if cmp TEST.out ${SRCDIR}/TEST.expected 2> /dev/null; then : ; else
|
||||||
then
|
|
||||||
echo "Good";
|
|
||||||
else
|
|
||||||
echo "Output comparison for TEST"
|
echo "Output comparison for TEST"
|
||||||
diff -u ${DIR}/TEST.expected TEST.out
|
diff -u ${SRCDIR}/TEST.expected TEST.out
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user