Re: [kvm-unit-tests PATCH] trivial: add "check" keyword description

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

 




On 03/03/2016 14:47, Laurent Vivier wrote:
> x86/unittests.cfg uses a keyword which is not described in the header.
> "check" is used and described in scripts/runtime.bash,
> so add the comment in the header of all the unittests.cfg.
> 
> Signed-off-by: Laurent Vivier <lvivier@xxxxxxxxxx>
> ---
>  arm/unittests.cfg     | 4 ++++
>  powerpc/unittests.cfg | 4 ++++
>  x86/unittests.cfg     | 4 ++++
>  3 files changed, 12 insertions(+)

Applied (after resolving conflicts), thanks.

Paolo

> diff --git a/arm/unittests.cfg b/arm/unittests.cfg
> index 5e26da1..9465c69 100644
> --- a/arm/unittests.cfg
> +++ b/arm/unittests.cfg
> @@ -8,6 +8,10 @@
>  # groups = group1 group2 # Used to identify test cases with run_tests -g ...
>  # accel = kvm|tcg # Optionally specify if test must run with kvm or tcg.
>  #                 # If not specified, then kvm will be used when available.
> +# check = <path>=<value> # check a file for a particular value before running
> +#                        # a test. The check line can contain multiple files
> +#                        # to check separated by a space but each check
> +#                        # parameter needs to be of the form <path>=<value>
>  
>  #
>  # Test that the configured number of processors (smp = <num>), and
> diff --git a/powerpc/unittests.cfg b/powerpc/unittests.cfg
> index 0666922..02b21c7 100644
> --- a/powerpc/unittests.cfg
> +++ b/powerpc/unittests.cfg
> @@ -16,6 +16,10 @@
>  #				# kvm or tcg. If not specified, then kvm will
>  #				# be used when available.
>  # timeout = <duration>		# Optionally specify a timeout.
> +# check = <path>=<value> # check a file for a particular value before running
> +#                        # a test. The check line can contain multiple files
> +#                        # to check separated by a space but each check
> +#                        # parameter needs to be of the form <path>=<value>
>  ##############################################################################
>  
>  #
> diff --git a/x86/unittests.cfg b/x86/unittests.cfg
> index 99eff26..3155eca 100644
> --- a/x86/unittests.cfg
> +++ b/x86/unittests.cfg
> @@ -6,6 +6,10 @@
>  # extra_params = -cpu qemu64,+x2apic # Additional parameters used
>  # arch = i386/x86_64 # Only if the test case works only on one of them
>  # groups = group1 group2 # Used to identify test cases with run_tests -g ...
> +# check = <path>=<value> # check a file for a particular value before running
> +#                        # a test. The check line can contain multiple files
> +#                        # to check separated by a space but each check
> +#                        # parameter needs to be of the form <path>=<value>
>  
>  [apic]
>  file = apic.flat
> 
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux