From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vw9v2-0006Rd-6n for qemu-devel@nongnu.org; Thu, 26 Dec 2013 07:20:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vw9uv-0002K7-Tg for qemu-devel@nongnu.org; Thu, 26 Dec 2013 07:20:04 -0500 Received: from mx1.redhat.com ([209.132.183.28]:29519) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vw9uv-0002K2-LZ for qemu-devel@nongnu.org; Thu, 26 Dec 2013 07:19:57 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rBQCJuLv015135 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 26 Dec 2013 07:19:56 -0500 From: Marcel Apfelbaum Date: Thu, 26 Dec 2013 14:19:48 +0200 Message-Id: <1388060390-16447-1-git-send-email-marcel.a@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/2] acpi unit-test: rebuild aml files functionality List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mst@redhat.com 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