diff mbox series

[10/12] acpi/tests/bits: add acpi bits qtest directory in meson for running tests

Message ID 20220627072856.1529357-11-ani@anisinha.ca
State New
Headers show
Series Introduce new acpi/smbios qtests using biosbits | expand

Commit Message

Ani Sinha June 27, 2022, 7:28 a.m. UTC
added acpi-bits subdirectory in meson.build so that the tests in that
subdirectory can be run as a part of make check.

Signed-off-by: Ani Sinha <ani@anisinha.ca>
---
 tests/qtest/acpi-bits/acpi-bits-test.py | 4 ++--
 tests/qtest/meson.build                 | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/tests/qtest/acpi-bits/acpi-bits-test.py b/tests/qtest/acpi-bits/acpi-bits-test.py
index 673567bf8e..ef4ace8028 100644
--- a/tests/qtest/acpi-bits/acpi-bits-test.py
+++ b/tests/qtest/acpi-bits/acpi-bits-test.py
@@ -244,9 +244,9 @@  def parse_log(self):
 
         if os.getenv('V'):
             print('\nlogs from biosbits follows:')
-            print('==========================================\n\n')
+            print('==========================================\n')
             print(log)
-            print('\n==========================================\n')
+            print('==========================================\n')
 
         matchiter = re.finditer(r'(.*Summary: )(\d+ passed), (\d+ failed).*',
                                 log)
diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build
index ad52f1c81b..2c72c42933 100644
--- a/tests/qtest/meson.build
+++ b/tests/qtest/meson.build
@@ -312,6 +312,8 @@  endif
 qtest_executables = {}
 other_deps = []
 
+subdir('acpi-bits')
+
 foreach dir : target_dirs
   if not dir.endswith('-softmmu')
     continue