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

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

 



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@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 >> $@
>>
>
> 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@xxxxxxxxx>
>
> Tomi

Thanks, pushed v2 since it passes BAT. :)

_______________________________________________
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