[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] acpi/tests/avocado/bits: add SPDX license identifiers for
From: |
Michael S. Tsirkin |
Subject: |
Re: [PATCH v2] acpi/tests/avocado/bits: add SPDX license identifiers for bios bits tests |
Date: |
Tue, 29 Nov 2022 00:07:00 -0500 |
On Tue, Nov 29, 2022 at 08:02:15AM +0530, Ani Sinha wrote:
>
>
> On Fri, Nov 25, 2022 at 10:11 AM Ani Sinha <ani@anisinha.ca> wrote:
>
> Added the SPDX license identifiers for biosbits tests.
> Also added a comment on each of the test scripts to indicate that they run
> from within the biosbits environment and hence are not subjected to the
> regular
> maintenance activities for QEMU and is excluded from the dependency
> management
> challenges in the host testing environment.
>
> Cc: Daniel P. Berrangé <berrange@redhat.com>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Cc: Maydell Peter <peter.maydell@linaro.org>
> Cc: John Snow <jsnow@redhat.com>
> Cc: Thomas Huth <thuth@redhat.com>
> Cc: Alex Bennée <alex.bennee@linaro.org>
> Cc: Igor Mammedov <imammedo@redhat.com>
> Cc: Michael Tsirkin <mst@redhat.com>
> Cc: Thomas Huth <thuth@redhat.com>
> Cc: qemu-trivial@nongnu.org
> Signed-off-by: Ani Sinha <ani@anisinha.ca>
>
>
> Is anyone going to queue this for 7.2 given it's quite trivial?
Don't see why we should bother.
>
>
> ---
> tests/avocado/acpi-bits/bits-tests/smbios.py2 | 4 ++++
> tests/avocado/acpi-bits/bits-tests/testacpi.py2 | 4 ++++
> tests/avocado/acpi-bits/bits-tests/testcpuid.py2 | 4 ++++
> 3 files changed, 12 insertions(+)
>
> changelog:
> changes from v1: fixed typo as suggested by Phil.
>
> diff --git a/tests/avocado/acpi-bits/bits-tests/smbios.py2
> b/tests/avocado/
> acpi-bits/bits-tests/smbios.py2
> index 9667d0542c..fc623de072 100644
> --- a/tests/avocado/acpi-bits/bits-tests/smbios.py2
> +++ b/tests/avocado/acpi-bits/bits-tests/smbios.py2
> @@ -1,6 +1,8 @@
> # Copyright (c) 2015, Intel Corporation
> # All rights reserved.
> #
> +# SPDX-License-Identifier: BSD-3-Clause
> +#
> # Redistribution and use in source and binary forms, with or without
> # modification, are permitted provided that the following conditions are
> met:
> #
> @@ -24,6 +26,8 @@
> # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> OF
> THIS
> # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>
> +# This script runs only from the biosbits VM.
> +
> """SMBIOS/DMI module."""
>
> import bits
> diff --git a/tests/avocado/acpi-bits/bits-tests/testacpi.py2 b/tests/
> avocado/acpi-bits/bits-tests/testacpi.py2
> index dbc150076e..f818a9cce6 100644
> --- a/tests/avocado/acpi-bits/bits-tests/testacpi.py2
> +++ b/tests/avocado/acpi-bits/bits-tests/testacpi.py2
> @@ -1,6 +1,8 @@
> # Copyright (c) 2015, Intel Corporation
> # All rights reserved.
> #
> +# SPDX-License-Identifier: BSD-3-Clause
> +#
> # Redistribution and use in source and binary forms, with or without
> # modification, are permitted provided that the following conditions are
> met:
> #
> @@ -24,6 +26,8 @@
> # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> OF
> THIS
> # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>
> +# This script runs only from the biosbits VM.
> +
> """Tests for ACPI"""
>
> import acpi
> diff --git a/tests/avocado/acpi-bits/bits-tests/testcpuid.py2 b/tests/
> avocado/acpi-bits/bits-tests/testcpuid.py2
> index ac55d912e1..7adefbe355 100644
> --- a/tests/avocado/acpi-bits/bits-tests/testcpuid.py2
> +++ b/tests/avocado/acpi-bits/bits-tests/testcpuid.py2
> @@ -1,6 +1,8 @@
> # Copyright (c) 2012, Intel Corporation
> # All rights reserved.
> #
> +# SPDX-License-Identifier: BSD-3-Clause
> +#
> # Redistribution and use in source and binary forms, with or without
> # modification, are permitted provided that the following conditions are
> met:
> #
> @@ -24,6 +26,8 @@
> # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> OF
> THIS
> # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>
> +# This script runs only from the biosbits VM.
> +
> """Tests and helpers for CPUID."""
>
> import bits
> --
> 2.34.1
>
>