diff mbox

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

Message ID 1457012871-7060-1-git-send-email-lvivier@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Laurent Vivier March 3, 2016, 1:47 p.m. UTC
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(+)

Comments

Paolo Bonzini March 3, 2016, 1:51 p.m. UTC | #1
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
> 
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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