All of lore.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH] trivial: add "check" keyword description
@ 2016-03-03 13:47 Laurent Vivier
  2016-03-03 13:51 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent Vivier @ 2016-03-03 13:47 UTC (permalink / raw)
  To: kvm; +Cc: pbonzini, Laurent Vivier

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@redhat.com>
---
 arm/unittests.cfg     | 4 ++++
 powerpc/unittests.cfg | 4 ++++
 x86/unittests.cfg     | 4 ++++
 3 files changed, 12 insertions(+)

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
-- 
2.5.0


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

* Re: [kvm-unit-tests PATCH] trivial: add "check" keyword description
  2016-03-03 13:47 [kvm-unit-tests PATCH] trivial: add "check" keyword description Laurent Vivier
@ 2016-03-03 13:51 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2016-03-03 13:51 UTC (permalink / raw)
  To: Laurent Vivier, kvm



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@redhat.com>
> ---
>  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
> 

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

end of thread, other threads:[~2016-03-03 13:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-03 13:47 [kvm-unit-tests PATCH] trivial: add "check" keyword description Laurent Vivier
2016-03-03 13:51 ` Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.