From 75e7a3a8d255a4b925e24939e771af3e7cdf15dc Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 31 Aug 2016 19:59:02 +0300 Subject: autotools/: Allow check target to be invoked w/o the need to issue a build. We need to have the test list generated before running the check target. Migrated igt_command_line.sh to tests/ from lib/tests/, which allows to building the tests and execute the script. This would allow cleaning followed by a make check. Also assembler/ directory needs also to be adjusted in order for this to work. Kept the possibility to invoke tests/igt_command_line.sh to determine which test is failing. Signed-off-by: Marius Vlad Url: https://patchwork.freedesktop.org/series/6539/ Reviewed-By: Chris Wilson --- assembler/test/run-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assembler/test/run-test.sh') diff --git a/assembler/test/run-test.sh b/assembler/test/run-test.sh index 27c5c2d3..20a408c6 100644 --- a/assembler/test/run-test.sh +++ b/assembler/test/run-test.sh @@ -3,7 +3,7 @@ SRCDIR=${srcdir-`pwd`} BUILDDIR=${top_builddir-`pwd`} -${BUILDDIR}/assembler/intel-gen4asm -o TEST.out $SRCDIR/TEST.g4a +${BUILDDIR}/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 -- cgit v1.2.3