qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] acpi unit-test: rebuild aml files functionality
@ 2013-12-26 12:19 Marcel Apfelbaum
  2013-12-26 12:19 ` [Qemu-devel] [PATCH v2 1/2] acpi unit-test: added script to rebuild the expected aml files Marcel Apfelbaum
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Marcel Apfelbaum @ 2013-12-26 12:19 UTC (permalink / raw)
  To: qemu-devel; +Cc: mst

Acpi unit-test will fail every time the acpi tables change.

The series adds a script that rebuilds the expected aml files, so the test
will pass. It also validates the modifications.

The acpi unit test will rebuild the aml tables if TEST_ACPI_REBUILD_AML
environment variable is set.

v1 -> v2:
Addressed Michael S. Tsirkin's comments:
 - added TEST_ prefix to the environment variable
 - some rephrases

Marcel Apfelbaum (2):
  acpi unit-test: added script to rebuild the expected aml files
  acpi unit-test: hook to rebuild expected aml files

 tests/acpi-test-data/rebuild-expected-aml.sh | 36 ++++++++++++++++++++++++++++
 tests/acpi-test.c                            | 30 +++++++++++++++++++----
 2 files changed, 61 insertions(+), 5 deletions(-)
 create mode 100755 tests/acpi-test-data/rebuild-expected-aml.sh

-- 
1.8.3.1

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

end of thread, other threads:[~2013-12-29 12:46 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-26 12:19 [Qemu-devel] [PATCH v2 0/2] acpi unit-test: rebuild aml files functionality Marcel Apfelbaum
2013-12-26 12:19 ` [Qemu-devel] [PATCH v2 1/2] acpi unit-test: added script to rebuild the expected aml files Marcel Apfelbaum
2013-12-26 13:54   ` Michael S. Tsirkin
2013-12-26 12:19 ` [Qemu-devel] [PATCH v2 2/2] acpi unit-test: hook to rebuild " Marcel Apfelbaum
2013-12-26 12:46 ` [Qemu-devel] [PATCH v2 0/2] acpi unit-test: rebuild aml files functionality Michael S. Tsirkin
2013-12-26 13:24   ` Marcel Apfelbaum
2013-12-26 13:53     ` Michael S. Tsirkin
2013-12-26 14:09       ` Marcel Apfelbaum
2013-12-26 15:41         ` Michael S. Tsirkin
2013-12-26 15:58           ` Marcel Apfelbaum
2013-12-26 16:12             ` Michael S. Tsirkin
2013-12-26 16:51               ` Michael S. Tsirkin
2013-12-26 17:15                 ` Marcel Apfelbaum
2013-12-26 18:19                   ` Michael S. Tsirkin
2013-12-26 22:01                     ` Marcel Apfelbaum
2013-12-29 12:45                       ` Marcel Apfelbaum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).