[Intel-gfx] [PATCH i-g-t] tests: Regenerate testlist when Makefile is changed

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Tue Nov 21 15:06:59 UTC 2017


This fixes the testlist keeping the out-of-date reference to chamelium on last run.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Reported-by: Tomi Sarvela <tomi.p.sarvela at intel.com>
Cc: Tomi Sarvela <tomi.p.sarvela at intel.com>
---
 tests/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index db360523dad6..182c037adebc 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -29,12 +29,12 @@ endif
 TESTS_progs += testdisplay
 
 if BUILD_TESTS
-test-list.txt: Makefile.sources
+test-list.txt: $(srcdir)/Makefile.sources Makefile
 	@echo TESTLIST > $@
 	@echo ${kernel_tests} >> $@
 	@echo END TESTLIST >> $@
 
-test-list-full.txt: Makefile.sources
+test-list-full.txt: $(srcdir)/Makefile.sources Makefile
 	@echo TESTLIST > $@
 	@echo ${kernel_tests} ${extra_kernel_tests} >> $@
 	@echo END TESTLIST >> $@
-- 
2.15.0



More information about the Intel-gfx mailing list