[Intel-gfx] [PATCH i-g-t] tests: Regenerate testlist when Makefile is changed
Maarten Lankhorst
maarten.lankhorst at linux.intel.com
Wed Nov 22 09:43:31 UTC 2017
Op 21-11-17 om 18:01 schreef Tomi Sarvela:
> 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
Thanks, pushed v2 since it passes BAT. :)
More information about the Intel-gfx
mailing list