[Intel-gfx] [PATCH i-g-t] tests: Regenerate testlist when Makefile is changed
Tomi Sarvela
tomi.p.sarvela at intel.com
Tue Nov 21 17:01:01 UTC 2017
On 21/11/17 17:06, Maarten Lankhorst wrote:
> 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 >> $@
>
This resolves an issue with out-of-date test-list.txt when install
directory is not clean and tests change.
Acked-by: Tomi Sarvela <tomi.p.sarvela at intel.com>
Tomi
--
Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo
More information about the Intel-gfx
mailing list