KVM Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] kvm: tests: Sort tests in the Makefile alphabetically
@ 2019-05-21 17:13 Aaron Lewis
  2019-05-31 16:37 ` Aaron Lewis
  0 siblings, 1 reply; 6+ messages in thread
From: Aaron Lewis @ 2019-05-21 17:13 UTC (permalink / raw)
  To: jmattson, pshier, marcorr, kvm; +Cc: Aaron Lewis

Signed-off-by: Aaron Lewis <aaronlewis@google.com>
Reviewed-by: Peter Shier <pshier@google.com>
---
 tools/testing/selftests/kvm/Makefile | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile
index 79c524395ebe..234f679fa5ad 100644
--- a/tools/testing/selftests/kvm/Makefile
+++ b/tools/testing/selftests/kvm/Makefile
@@ -10,23 +10,23 @@ LIBKVM = lib/assert.c lib/elf.c lib/io.c lib/kvm_util.c lib/ucall.c lib/sparsebi
 LIBKVM_x86_64 = lib/x86_64/processor.c lib/x86_64/vmx.c
 LIBKVM_aarch64 = lib/aarch64/processor.c
 
-TEST_GEN_PROGS_x86_64 = x86_64/platform_info_test
-TEST_GEN_PROGS_x86_64 += x86_64/set_sregs_test
-TEST_GEN_PROGS_x86_64 += x86_64/sync_regs_test
-TEST_GEN_PROGS_x86_64 += x86_64/vmx_tsc_adjust_test
-TEST_GEN_PROGS_x86_64 += x86_64/cr4_cpuid_sync_test
-TEST_GEN_PROGS_x86_64 += x86_64/state_test
+TEST_GEN_PROGS_x86_64 = x86_64/cr4_cpuid_sync_test
 TEST_GEN_PROGS_x86_64 += x86_64/evmcs_test
 TEST_GEN_PROGS_x86_64 += x86_64/hyperv_cpuid
-TEST_GEN_PROGS_x86_64 += x86_64/vmx_close_while_nested_test
-TEST_GEN_PROGS_x86_64 += x86_64/smm_test
 TEST_GEN_PROGS_x86_64 += x86_64/kvm_create_max_vcpus
+TEST_GEN_PROGS_x86_64 += x86_64/platform_info_test
+TEST_GEN_PROGS_x86_64 += x86_64/set_sregs_test
+TEST_GEN_PROGS_x86_64 += x86_64/smm_test
+TEST_GEN_PROGS_x86_64 += x86_64/state_test
+TEST_GEN_PROGS_x86_64 += x86_64/sync_regs_test
+TEST_GEN_PROGS_x86_64 += x86_64/vmx_close_while_nested_test
 TEST_GEN_PROGS_x86_64 += x86_64/vmx_set_nested_state_test
-TEST_GEN_PROGS_x86_64 += dirty_log_test
+TEST_GEN_PROGS_x86_64 += x86_64/vmx_tsc_adjust_test
 TEST_GEN_PROGS_x86_64 += clear_dirty_log_test
+TEST_GEN_PROGS_x86_64 += dirty_log_test
 
-TEST_GEN_PROGS_aarch64 += dirty_log_test
 TEST_GEN_PROGS_aarch64 += clear_dirty_log_test
+TEST_GEN_PROGS_aarch64 += dirty_log_test
 
 TEST_GEN_PROGS += $(TEST_GEN_PROGS_$(UNAME_M))
 LIBKVM += $(LIBKVM_$(UNAME_M))
-- 
2.21.0.1020.gf2820cf01a-goog


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] kvm: tests: Sort tests in the Makefile alphabetically
  2019-05-21 17:13 [PATCH] kvm: tests: Sort tests in the Makefile alphabetically Aaron Lewis
@ 2019-05-31 16:37 ` Aaron Lewis
  2019-06-18 14:14   ` Aaron Lewis
  0 siblings, 1 reply; 6+ messages in thread
From: Aaron Lewis @ 2019-05-31 16:37 UTC (permalink / raw)
  To: Jim Mattson, Peter Shier, Marc Orr, kvm

On Tue, May 21, 2019 at 10:14 AM Aaron Lewis <aaronlewis@google.com> wrote:
>
> Signed-off-by: Aaron Lewis <aaronlewis@google.com>
> Reviewed-by: Peter Shier <pshier@google.com>
> ---
>  tools/testing/selftests/kvm/Makefile | 20 ++++++++++----------
>  1 file changed, 10 insertions(+), 10 deletions(-)
>
> diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile
> index 79c524395ebe..234f679fa5ad 100644
> --- a/tools/testing/selftests/kvm/Makefile
> +++ b/tools/testing/selftests/kvm/Makefile
> @@ -10,23 +10,23 @@ LIBKVM = lib/assert.c lib/elf.c lib/io.c lib/kvm_util.c lib/ucall.c lib/sparsebi
>  LIBKVM_x86_64 = lib/x86_64/processor.c lib/x86_64/vmx.c
>  LIBKVM_aarch64 = lib/aarch64/processor.c
>
> -TEST_GEN_PROGS_x86_64 = x86_64/platform_info_test
> -TEST_GEN_PROGS_x86_64 += x86_64/set_sregs_test
> -TEST_GEN_PROGS_x86_64 += x86_64/sync_regs_test
> -TEST_GEN_PROGS_x86_64 += x86_64/vmx_tsc_adjust_test
> -TEST_GEN_PROGS_x86_64 += x86_64/cr4_cpuid_sync_test
> -TEST_GEN_PROGS_x86_64 += x86_64/state_test
> +TEST_GEN_PROGS_x86_64 = x86_64/cr4_cpuid_sync_test
>  TEST_GEN_PROGS_x86_64 += x86_64/evmcs_test
>  TEST_GEN_PROGS_x86_64 += x86_64/hyperv_cpuid
> -TEST_GEN_PROGS_x86_64 += x86_64/vmx_close_while_nested_test
> -TEST_GEN_PROGS_x86_64 += x86_64/smm_test
>  TEST_GEN_PROGS_x86_64 += x86_64/kvm_create_max_vcpus
> +TEST_GEN_PROGS_x86_64 += x86_64/platform_info_test
> +TEST_GEN_PROGS_x86_64 += x86_64/set_sregs_test
> +TEST_GEN_PROGS_x86_64 += x86_64/smm_test
> +TEST_GEN_PROGS_x86_64 += x86_64/state_test
> +TEST_GEN_PROGS_x86_64 += x86_64/sync_regs_test
> +TEST_GEN_PROGS_x86_64 += x86_64/vmx_close_while_nested_test
>  TEST_GEN_PROGS_x86_64 += x86_64/vmx_set_nested_state_test
> -TEST_GEN_PROGS_x86_64 += dirty_log_test
> +TEST_GEN_PROGS_x86_64 += x86_64/vmx_tsc_adjust_test
>  TEST_GEN_PROGS_x86_64 += clear_dirty_log_test
> +TEST_GEN_PROGS_x86_64 += dirty_log_test
>
> -TEST_GEN_PROGS_aarch64 += dirty_log_test
>  TEST_GEN_PROGS_aarch64 += clear_dirty_log_test
> +TEST_GEN_PROGS_aarch64 += dirty_log_test
>
>  TEST_GEN_PROGS += $(TEST_GEN_PROGS_$(UNAME_M))
>  LIBKVM += $(LIBKVM_$(UNAME_M))
> --
> 2.21.0.1020.gf2820cf01a-goog
>

Does this look okay?  It's just a simple reordering of the list.  It
helps when adding new tests.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] kvm: tests: Sort tests in the Makefile alphabetically
  2019-05-31 16:37 ` Aaron Lewis
@ 2019-06-18 14:14   ` Aaron Lewis
  2019-06-18 19:47     ` Krish Sadhukhan
  0 siblings, 1 reply; 6+ messages in thread
From: Aaron Lewis @ 2019-06-18 14:14 UTC (permalink / raw)
  To: Jim Mattson, Peter Shier, Marc Orr, kvm

On Fri, May 31, 2019 at 9:37 AM Aaron Lewis <aaronlewis@google.com> wrote:
>
> On Tue, May 21, 2019 at 10:14 AM Aaron Lewis <aaronlewis@google.com> wrote:
> >
> > Signed-off-by: Aaron Lewis <aaronlewis@google.com>
> > Reviewed-by: Peter Shier <pshier@google.com>
> > ---
> >  tools/testing/selftests/kvm/Makefile | 20 ++++++++++----------
> >  1 file changed, 10 insertions(+), 10 deletions(-)
> >
> > diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile
> > index 79c524395ebe..234f679fa5ad 100644
> > --- a/tools/testing/selftests/kvm/Makefile
> > +++ b/tools/testing/selftests/kvm/Makefile
> > @@ -10,23 +10,23 @@ LIBKVM = lib/assert.c lib/elf.c lib/io.c lib/kvm_util.c lib/ucall.c lib/sparsebi
> >  LIBKVM_x86_64 = lib/x86_64/processor.c lib/x86_64/vmx.c
> >  LIBKVM_aarch64 = lib/aarch64/processor.c
> >
> > -TEST_GEN_PROGS_x86_64 = x86_64/platform_info_test
> > -TEST_GEN_PROGS_x86_64 += x86_64/set_sregs_test
> > -TEST_GEN_PROGS_x86_64 += x86_64/sync_regs_test
> > -TEST_GEN_PROGS_x86_64 += x86_64/vmx_tsc_adjust_test
> > -TEST_GEN_PROGS_x86_64 += x86_64/cr4_cpuid_sync_test
> > -TEST_GEN_PROGS_x86_64 += x86_64/state_test
> > +TEST_GEN_PROGS_x86_64 = x86_64/cr4_cpuid_sync_test
> >  TEST_GEN_PROGS_x86_64 += x86_64/evmcs_test
> >  TEST_GEN_PROGS_x86_64 += x86_64/hyperv_cpuid
> > -TEST_GEN_PROGS_x86_64 += x86_64/vmx_close_while_nested_test
> > -TEST_GEN_PROGS_x86_64 += x86_64/smm_test
> >  TEST_GEN_PROGS_x86_64 += x86_64/kvm_create_max_vcpus
> > +TEST_GEN_PROGS_x86_64 += x86_64/platform_info_test
> > +TEST_GEN_PROGS_x86_64 += x86_64/set_sregs_test
> > +TEST_GEN_PROGS_x86_64 += x86_64/smm_test
> > +TEST_GEN_PROGS_x86_64 += x86_64/state_test
> > +TEST_GEN_PROGS_x86_64 += x86_64/sync_regs_test
> > +TEST_GEN_PROGS_x86_64 += x86_64/vmx_close_while_nested_test
> >  TEST_GEN_PROGS_x86_64 += x86_64/vmx_set_nested_state_test
> > -TEST_GEN_PROGS_x86_64 += dirty_log_test
> > +TEST_GEN_PROGS_x86_64 += x86_64/vmx_tsc_adjust_test
> >  TEST_GEN_PROGS_x86_64 += clear_dirty_log_test
> > +TEST_GEN_PROGS_x86_64 += dirty_log_test
> >
> > -TEST_GEN_PROGS_aarch64 += dirty_log_test
> >  TEST_GEN_PROGS_aarch64 += clear_dirty_log_test
> > +TEST_GEN_PROGS_aarch64 += dirty_log_test
> >
> >  TEST_GEN_PROGS += $(TEST_GEN_PROGS_$(UNAME_M))
> >  LIBKVM += $(LIBKVM_$(UNAME_M))
> > --
> > 2.21.0.1020.gf2820cf01a-goog
> >
>
> Does this look okay?  It's just a simple reordering of the list.  It
> helps when adding new tests.

ping

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] kvm: tests: Sort tests in the Makefile alphabetically
  2019-06-18 14:14   ` Aaron Lewis
@ 2019-06-18 19:47     ` Krish Sadhukhan
  2019-06-20 15:03       ` Aaron Lewis
  0 siblings, 1 reply; 6+ messages in thread
From: Krish Sadhukhan @ 2019-06-18 19:47 UTC (permalink / raw)
  To: Aaron Lewis, Jim Mattson, Peter Shier, Marc Orr, kvm



On 06/18/2019 07:14 AM, Aaron Lewis wrote:
> On Fri, May 31, 2019 at 9:37 AM Aaron Lewis <aaronlewis@google.com> wrote:
>> On Tue, May 21, 2019 at 10:14 AM Aaron Lewis <aaronlewis@google.com> wrote:
>>> Signed-off-by: Aaron Lewis <aaronlewis@google.com>
>>> Reviewed-by: Peter Shier <pshier@google.com>
>>> ---
>>>   tools/testing/selftests/kvm/Makefile | 20 ++++++++++----------
>>>   1 file changed, 10 insertions(+), 10 deletions(-)
>>>
>>> diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile
>>> index 79c524395ebe..234f679fa5ad 100644
>>> --- a/tools/testing/selftests/kvm/Makefile
>>> +++ b/tools/testing/selftests/kvm/Makefile
>>> @@ -10,23 +10,23 @@ LIBKVM = lib/assert.c lib/elf.c lib/io.c lib/kvm_util.c lib/ucall.c lib/sparsebi
>>>   LIBKVM_x86_64 = lib/x86_64/processor.c lib/x86_64/vmx.c
>>>   LIBKVM_aarch64 = lib/aarch64/processor.c
>>>
>>> -TEST_GEN_PROGS_x86_64 = x86_64/platform_info_test
>>> -TEST_GEN_PROGS_x86_64 += x86_64/set_sregs_test
>>> -TEST_GEN_PROGS_x86_64 += x86_64/sync_regs_test
>>> -TEST_GEN_PROGS_x86_64 += x86_64/vmx_tsc_adjust_test
>>> -TEST_GEN_PROGS_x86_64 += x86_64/cr4_cpuid_sync_test
>>> -TEST_GEN_PROGS_x86_64 += x86_64/state_test
>>> +TEST_GEN_PROGS_x86_64 = x86_64/cr4_cpuid_sync_test
>>>   TEST_GEN_PROGS_x86_64 += x86_64/evmcs_test
>>>   TEST_GEN_PROGS_x86_64 += x86_64/hyperv_cpuid
>>> -TEST_GEN_PROGS_x86_64 += x86_64/vmx_close_while_nested_test
>>> -TEST_GEN_PROGS_x86_64 += x86_64/smm_test
>>>   TEST_GEN_PROGS_x86_64 += x86_64/kvm_create_max_vcpus
>>> +TEST_GEN_PROGS_x86_64 += x86_64/platform_info_test
>>> +TEST_GEN_PROGS_x86_64 += x86_64/set_sregs_test
>>> +TEST_GEN_PROGS_x86_64 += x86_64/smm_test
>>> +TEST_GEN_PROGS_x86_64 += x86_64/state_test
>>> +TEST_GEN_PROGS_x86_64 += x86_64/sync_regs_test
>>> +TEST_GEN_PROGS_x86_64 += x86_64/vmx_close_while_nested_test
>>>   TEST_GEN_PROGS_x86_64 += x86_64/vmx_set_nested_state_test
>>> -TEST_GEN_PROGS_x86_64 += dirty_log_test
>>> +TEST_GEN_PROGS_x86_64 += x86_64/vmx_tsc_adjust_test
>>>   TEST_GEN_PROGS_x86_64 += clear_dirty_log_test
>>> +TEST_GEN_PROGS_x86_64 += dirty_log_test

May be, place the last two at the beginning if you are arranging them 
alphabetically ?

>>>
>>> -TEST_GEN_PROGS_aarch64 += dirty_log_test
>>>   TEST_GEN_PROGS_aarch64 += clear_dirty_log_test
>>> +TEST_GEN_PROGS_aarch64 += dirty_log_test

May be, put the aarch64 ones above the x86_64 ones to arrange them 
alphabetically ?

>>>
>>>   TEST_GEN_PROGS += $(TEST_GEN_PROGS_$(UNAME_M))
>>>   LIBKVM += $(LIBKVM_$(UNAME_M))
>>> --
>>> 2.21.0.1020.gf2820cf01a-goog
>>>
>> Does this look okay?  It's just a simple reordering of the list.  It
>> helps when adding new tests.
> ping


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] kvm: tests: Sort tests in the Makefile alphabetically
  2019-06-18 19:47     ` Krish Sadhukhan
@ 2019-06-20 15:03       ` Aaron Lewis
  2019-06-20 17:19         ` Krish Sadhukhan
  0 siblings, 1 reply; 6+ messages in thread
From: Aaron Lewis @ 2019-06-20 15:03 UTC (permalink / raw)
  To: Krish Sadhukhan; +Cc: Jim Mattson, Peter Shier, Marc Orr, kvm

On Tue, Jun 18, 2019 at 12:47 PM Krish Sadhukhan
<krish.sadhukhan@oracle.com> wrote:
>
>
>
> On 06/18/2019 07:14 AM, Aaron Lewis wrote:
> > On Fri, May 31, 2019 at 9:37 AM Aaron Lewis <aaronlewis@google.com> wrote:
> >> On Tue, May 21, 2019 at 10:14 AM Aaron Lewis <aaronlewis@google.com> wrote:
> >>> Signed-off-by: Aaron Lewis <aaronlewis@google.com>
> >>> Reviewed-by: Peter Shier <pshier@google.com>
> >>> ---
> >>>   tools/testing/selftests/kvm/Makefile | 20 ++++++++++----------
> >>>   1 file changed, 10 insertions(+), 10 deletions(-)
> >>>
> >>> diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile
> >>> index 79c524395ebe..234f679fa5ad 100644
> >>> --- a/tools/testing/selftests/kvm/Makefile
> >>> +++ b/tools/testing/selftests/kvm/Makefile
> >>> @@ -10,23 +10,23 @@ LIBKVM = lib/assert.c lib/elf.c lib/io.c lib/kvm_util.c lib/ucall.c lib/sparsebi
> >>>   LIBKVM_x86_64 = lib/x86_64/processor.c lib/x86_64/vmx.c
> >>>   LIBKVM_aarch64 = lib/aarch64/processor.c
> >>>
> >>> -TEST_GEN_PROGS_x86_64 = x86_64/platform_info_test
> >>> -TEST_GEN_PROGS_x86_64 += x86_64/set_sregs_test
> >>> -TEST_GEN_PROGS_x86_64 += x86_64/sync_regs_test
> >>> -TEST_GEN_PROGS_x86_64 += x86_64/vmx_tsc_adjust_test
> >>> -TEST_GEN_PROGS_x86_64 += x86_64/cr4_cpuid_sync_test
> >>> -TEST_GEN_PROGS_x86_64 += x86_64/state_test
> >>> +TEST_GEN_PROGS_x86_64 = x86_64/cr4_cpuid_sync_test
> >>>   TEST_GEN_PROGS_x86_64 += x86_64/evmcs_test
> >>>   TEST_GEN_PROGS_x86_64 += x86_64/hyperv_cpuid
> >>> -TEST_GEN_PROGS_x86_64 += x86_64/vmx_close_while_nested_test
> >>> -TEST_GEN_PROGS_x86_64 += x86_64/smm_test
> >>>   TEST_GEN_PROGS_x86_64 += x86_64/kvm_create_max_vcpus
> >>> +TEST_GEN_PROGS_x86_64 += x86_64/platform_info_test
> >>> +TEST_GEN_PROGS_x86_64 += x86_64/set_sregs_test
> >>> +TEST_GEN_PROGS_x86_64 += x86_64/smm_test
> >>> +TEST_GEN_PROGS_x86_64 += x86_64/state_test
> >>> +TEST_GEN_PROGS_x86_64 += x86_64/sync_regs_test
> >>> +TEST_GEN_PROGS_x86_64 += x86_64/vmx_close_while_nested_test
> >>>   TEST_GEN_PROGS_x86_64 += x86_64/vmx_set_nested_state_test
> >>> -TEST_GEN_PROGS_x86_64 += dirty_log_test
> >>> +TEST_GEN_PROGS_x86_64 += x86_64/vmx_tsc_adjust_test
> >>>   TEST_GEN_PROGS_x86_64 += clear_dirty_log_test
> >>> +TEST_GEN_PROGS_x86_64 += dirty_log_test
>
> May be, place the last two at the beginning if you are arranging them
> alphabetically ?

The original scheme had everything in x86_64 first then everything in
the root folder second.  I wanted to maintain this scheme, so that's
why it is sorted this way.

>
> >>>
> >>> -TEST_GEN_PROGS_aarch64 += dirty_log_test
> >>>   TEST_GEN_PROGS_aarch64 += clear_dirty_log_test
> >>> +TEST_GEN_PROGS_aarch64 += dirty_log_test
>
> May be, put the aarch64 ones above the x86_64 ones to arrange them
> alphabetically ?

I want to make a minimal change, so sorting the tags isn't a priority,
just the files.  The goal is to have a more predictable place to add
new tests, and I think this helps.

>
> >>>
> >>>   TEST_GEN_PROGS += $(TEST_GEN_PROGS_$(UNAME_M))
> >>>   LIBKVM += $(LIBKVM_$(UNAME_M))
> >>> --
> >>> 2.21.0.1020.gf2820cf01a-goog
> >>>
> >> Does this look okay?  It's just a simple reordering of the list.  It
> >> helps when adding new tests.
> > ping
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] kvm: tests: Sort tests in the Makefile alphabetically
  2019-06-20 15:03       ` Aaron Lewis
@ 2019-06-20 17:19         ` Krish Sadhukhan
  0 siblings, 0 replies; 6+ messages in thread
From: Krish Sadhukhan @ 2019-06-20 17:19 UTC (permalink / raw)
  To: Aaron Lewis; +Cc: Jim Mattson, Peter Shier, Marc Orr, kvm


On 6/20/19 8:03 AM, Aaron Lewis wrote:
> On Tue, Jun 18, 2019 at 12:47 PM Krish Sadhukhan
> <krish.sadhukhan@oracle.com> wrote:
>>
>>
>> On 06/18/2019 07:14 AM, Aaron Lewis wrote:
>>> On Fri, May 31, 2019 at 9:37 AM Aaron Lewis <aaronlewis@google.com> wrote:
>>>> On Tue, May 21, 2019 at 10:14 AM Aaron Lewis <aaronlewis@google.com> wrote:
>>>>> Signed-off-by: Aaron Lewis <aaronlewis@google.com>
>>>>> Reviewed-by: Peter Shier <pshier@google.com>
>>>>> ---
>>>>>    tools/testing/selftests/kvm/Makefile | 20 ++++++++++----------
>>>>>    1 file changed, 10 insertions(+), 10 deletions(-)
>>>>>
>>>>> diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile
>>>>> index 79c524395ebe..234f679fa5ad 100644
>>>>> --- a/tools/testing/selftests/kvm/Makefile
>>>>> +++ b/tools/testing/selftests/kvm/Makefile
>>>>> @@ -10,23 +10,23 @@ LIBKVM = lib/assert.c lib/elf.c lib/io.c lib/kvm_util.c lib/ucall.c lib/sparsebi
>>>>>    LIBKVM_x86_64 = lib/x86_64/processor.c lib/x86_64/vmx.c
>>>>>    LIBKVM_aarch64 = lib/aarch64/processor.c
>>>>>
>>>>> -TEST_GEN_PROGS_x86_64 = x86_64/platform_info_test
>>>>> -TEST_GEN_PROGS_x86_64 += x86_64/set_sregs_test
>>>>> -TEST_GEN_PROGS_x86_64 += x86_64/sync_regs_test
>>>>> -TEST_GEN_PROGS_x86_64 += x86_64/vmx_tsc_adjust_test
>>>>> -TEST_GEN_PROGS_x86_64 += x86_64/cr4_cpuid_sync_test
>>>>> -TEST_GEN_PROGS_x86_64 += x86_64/state_test
>>>>> +TEST_GEN_PROGS_x86_64 = x86_64/cr4_cpuid_sync_test
>>>>>    TEST_GEN_PROGS_x86_64 += x86_64/evmcs_test
>>>>>    TEST_GEN_PROGS_x86_64 += x86_64/hyperv_cpuid
>>>>> -TEST_GEN_PROGS_x86_64 += x86_64/vmx_close_while_nested_test
>>>>> -TEST_GEN_PROGS_x86_64 += x86_64/smm_test
>>>>>    TEST_GEN_PROGS_x86_64 += x86_64/kvm_create_max_vcpus
>>>>> +TEST_GEN_PROGS_x86_64 += x86_64/platform_info_test
>>>>> +TEST_GEN_PROGS_x86_64 += x86_64/set_sregs_test
>>>>> +TEST_GEN_PROGS_x86_64 += x86_64/smm_test
>>>>> +TEST_GEN_PROGS_x86_64 += x86_64/state_test
>>>>> +TEST_GEN_PROGS_x86_64 += x86_64/sync_regs_test
>>>>> +TEST_GEN_PROGS_x86_64 += x86_64/vmx_close_while_nested_test
>>>>>    TEST_GEN_PROGS_x86_64 += x86_64/vmx_set_nested_state_test
>>>>> -TEST_GEN_PROGS_x86_64 += dirty_log_test
>>>>> +TEST_GEN_PROGS_x86_64 += x86_64/vmx_tsc_adjust_test
>>>>>    TEST_GEN_PROGS_x86_64 += clear_dirty_log_test
>>>>> +TEST_GEN_PROGS_x86_64 += dirty_log_test
>> May be, place the last two at the beginning if you are arranging them
>> alphabetically ?
> The original scheme had everything in x86_64 first then everything in
> the root folder second.  I wanted to maintain this scheme, so that's
> why it is sorted this way.
>
>>>>> -TEST_GEN_PROGS_aarch64 += dirty_log_test
>>>>>    TEST_GEN_PROGS_aarch64 += clear_dirty_log_test
>>>>> +TEST_GEN_PROGS_aarch64 += dirty_log_test
>> May be, put the aarch64 ones above the x86_64 ones to arrange them
>> alphabetically ?
> I want to make a minimal change, so sorting the tags isn't a priority,
> just the files.  The goal is to have a more predictable place to add
> new tests, and I think this helps.


Reviewed-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>


>>>>>    TEST_GEN_PROGS += $(TEST_GEN_PROGS_$(UNAME_M))
>>>>>    LIBKVM += $(LIBKVM_$(UNAME_M))
>>>>> --
>>>>> 2.21.0.1020.gf2820cf01a-goog
>>>>>
>>>> Does this look okay?  It's just a simple reordering of the list.  It
>>>> helps when adding new tests.
>>> ping

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, back to index

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-21 17:13 [PATCH] kvm: tests: Sort tests in the Makefile alphabetically Aaron Lewis
2019-05-31 16:37 ` Aaron Lewis
2019-06-18 14:14   ` Aaron Lewis
2019-06-18 19:47     ` Krish Sadhukhan
2019-06-20 15:03       ` Aaron Lewis
2019-06-20 17:19         ` Krish Sadhukhan

KVM Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kvm/0 kvm/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kvm kvm/ https://lore.kernel.org/kvm \
		kvm@vger.kernel.org kvm@archiver.kernel.org
	public-inbox-index kvm


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.kvm


AGPL code for this site: git clone https://public-inbox.org/ public-inbox