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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx>
Reported-by: Tomi Sarvela <tomi.p.sarvela@xxxxxxxxx>
Cc: Tomi Sarvela <tomi.p.sarvela@xxxxxxxxx>
---
 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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux