[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 08/11] acpi/tests/bits: add biosbits config file for running b
From: |
Ani Sinha |
Subject: |
[PATCH v2 08/11] acpi/tests/bits: add biosbits config file for running bios tests |
Date: |
Sun, 10 Jul 2022 22:30:11 +0530 |
This change adds initial biosbits config file that instructs biosbits to run
bios test suits in batch mode. Additionally acpi and smbios structures are also
dumped.
Signed-off-by: Ani Sinha <ani@anisinha.ca>
---
.../pytest/acpi-bits/bits-config/bits-cfg.txt | 18 ++++++++++++++++++
tests/pytest/acpi-bits/bits-config/meson.build | 11 +++++++++++
2 files changed, 29 insertions(+)
create mode 100644 tests/pytest/acpi-bits/bits-config/bits-cfg.txt
create mode 100644 tests/pytest/acpi-bits/bits-config/meson.build
diff --git a/tests/pytest/acpi-bits/bits-config/bits-cfg.txt
b/tests/pytest/acpi-bits/bits-config/bits-cfg.txt
new file mode 100644
index 0000000000..8010804453
--- /dev/null
+++ b/tests/pytest/acpi-bits/bits-config/bits-cfg.txt
@@ -0,0 +1,18 @@
+# BITS configuration file
+[bits]
+
+# To run BITS in batch mode, set batch to a list of one or more of the
+# following keywords; BITS will then run all of the requested operations, then
+# save the log file to disk.
+#
+# test: Run the full BITS testsuite.
+# acpi: Dump all ACPI structures.
+# smbios: Dump all SMBIOS structures.
+#
+# Leave batch set to an empty string to disable batch mode.
+# batch =
+
+# Uncomment the following to run all available batch operations
+# please take a look at boot/python/init.py in bits zip file
+# to see how these options are parsed and used.
+batch = test acpi smbios
diff --git a/tests/pytest/acpi-bits/bits-config/meson.build
b/tests/pytest/acpi-bits/bits-config/meson.build
new file mode 100644
index 0000000000..bbd7a940dc
--- /dev/null
+++ b/tests/pytest/acpi-bits/bits-config/meson.build
@@ -0,0 +1,11 @@
+config_files = ['bits-cfg.txt']
+
+copycfgfiles = custom_target('copy cfg files',
+ input : config_files,
+ output : config_files,
+ command : ['cp', '@INPUT@', '@OUTPUT@'],
+ install : true,
+ install_dir : 'bits-config',
+ build_by_default : true)
+
+other_deps += copycfgfiles
--
2.25.1
- Re: [PATCH v2 07/11] acpi/tests/bits: add python test that exercizes QEMU bios tables using biosbits, (continued)
Re: [PATCH v2 07/11] acpi/tests/bits: add python test that exercizes QEMU bios tables using biosbits, Michael S. Tsirkin, 2022/07/14
- Re: [PATCH v2 07/11] acpi/tests/bits: add python test that exercizes QEMU bios tables using biosbits, Ani Sinha, 2022/07/15
- Re: [PATCH v2 07/11] acpi/tests/bits: add python test that exercizes QEMU bios tables using biosbits, Michael S. Tsirkin, 2022/07/15
- Re: [PATCH v2 07/11] acpi/tests/bits: add python test that exercizes QEMU bios tables using biosbits, Ani Sinha, 2022/07/16
- Re: [PATCH v2 07/11] acpi/tests/bits: add python test that exercizes QEMU bios tables using biosbits, Michael S. Tsirkin, 2022/07/16
- Re: [PATCH v2 07/11] acpi/tests/bits: add python test that exercizes QEMU bios tables using biosbits, Ani Sinha, 2022/07/25
- Re: [PATCH v2 07/11] acpi/tests/bits: add python test that exercizes QEMU bios tables using biosbits, Ani Sinha, 2022/07/27
[PATCH v2 08/11] acpi/tests/bits: add biosbits config file for running bios tests,
Ani Sinha <=
[PATCH v2 10/11] pytest: add pytest to the meson build system, Ani Sinha, 2022/07/10
[PATCH v2 11/11] MAINTAINERS: add myself as the maintainer for acpi biosbits pytests, Ani Sinha, 2022/07/10
[PATCH v2 09/11] acpi/tests/bits: add a README file describing bits pytests, Ani Sinha, 2022/07/10
Re: [PATCH v2 00/11] Introduce new acpi/smbios python tests using biosbits, Michael S. Tsirkin, 2022/07/11