]> git.proxmox.com Git - mirror_qemu.git/commit
tests: Move tests/acpi-test-data/ to tests/data/acpi/
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Nov 2018 11:52:36 +0000 (11:52 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 5 Nov 2018 18:23:31 +0000 (13:23 -0500)
commit438c78dab75e3b9d1bc8da1d5401da77c84e27b7
tree25dd40ad125519d5a974fb1a610f43694db84f2a
parentb2f7a038bb4c4fc5ce6b8486e8513dfd97665e2a
tests: Move tests/acpi-test-data/ to tests/data/acpi/

Currently tests/acpi-test-data contains data files used by the
bios-tables-test, and configure individually symlinks those
data files into the build directory using a wildcard.

Using a wildcard like this is a bad idea, because if a new
data file is added, nothing causes configure to be rerun,
and so no symlink is added for the new file. This can cause
tests to spuriously fail when they can't find their data.
Instead, it's better to symlink an entire directory of
data files. We already have such a directory: tests/data.

Move the data files from tests/acpi-test-data/ to
tests/data/acpi/, and remove the unnecessary symlinking.

We can remove entirely the note in rebuild-expected-aml.sh
about copying any new data files, because now they will
be in the source directory, not the build directory, and
no copying is required.

(We can't just change the existing tests/acpi-test-data/
to being a symlinked directory, because if we did that and
a developer switched git branches from one after that change
to one before it then configure would end up trashing all
the test files by making them symlinks to themselves.
Changing their path avoids this annoyance.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
90 files changed:
configure
tests/acpi-test-data/pc/APIC [deleted file]
tests/acpi-test-data/pc/APIC.cphp [deleted file]
tests/acpi-test-data/pc/APIC.dimmpxm [deleted file]
tests/acpi-test-data/pc/DSDT [deleted file]
tests/acpi-test-data/pc/DSDT.bridge [deleted file]
tests/acpi-test-data/pc/DSDT.cphp [deleted file]
tests/acpi-test-data/pc/DSDT.dimmpxm [deleted file]
tests/acpi-test-data/pc/DSDT.ipmikcs [deleted file]
tests/acpi-test-data/pc/DSDT.memhp [deleted file]
tests/acpi-test-data/pc/DSDT.numamem [deleted file]
tests/acpi-test-data/pc/FACP [deleted file]
tests/acpi-test-data/pc/FACS [deleted file]
tests/acpi-test-data/pc/HPET [deleted file]
tests/acpi-test-data/pc/NFIT.dimmpxm [deleted file]
tests/acpi-test-data/pc/SLIT.cphp [deleted file]
tests/acpi-test-data/pc/SLIT.memhp [deleted file]
tests/acpi-test-data/pc/SRAT.cphp [deleted file]
tests/acpi-test-data/pc/SRAT.dimmpxm [deleted file]
tests/acpi-test-data/pc/SRAT.memhp [deleted file]
tests/acpi-test-data/pc/SRAT.numamem [deleted file]
tests/acpi-test-data/pc/SSDT.dimmpxm [deleted file]
tests/acpi-test-data/q35/APIC [deleted file]
tests/acpi-test-data/q35/APIC.cphp [deleted file]
tests/acpi-test-data/q35/APIC.dimmpxm [deleted file]
tests/acpi-test-data/q35/DSDT [deleted file]
tests/acpi-test-data/q35/DSDT.bridge [deleted file]
tests/acpi-test-data/q35/DSDT.cphp [deleted file]
tests/acpi-test-data/q35/DSDT.dimmpxm [deleted file]
tests/acpi-test-data/q35/DSDT.ipmibt [deleted file]
tests/acpi-test-data/q35/DSDT.memhp [deleted file]
tests/acpi-test-data/q35/DSDT.numamem [deleted file]
tests/acpi-test-data/q35/FACP [deleted file]
tests/acpi-test-data/q35/FACS [deleted file]
tests/acpi-test-data/q35/HPET [deleted file]
tests/acpi-test-data/q35/MCFG [deleted file]
tests/acpi-test-data/q35/NFIT.dimmpxm [deleted file]
tests/acpi-test-data/q35/SLIT.cphp [deleted file]
tests/acpi-test-data/q35/SLIT.memhp [deleted file]
tests/acpi-test-data/q35/SRAT.cphp [deleted file]
tests/acpi-test-data/q35/SRAT.dimmpxm [deleted file]
tests/acpi-test-data/q35/SRAT.memhp [deleted file]
tests/acpi-test-data/q35/SRAT.numamem [deleted file]
tests/acpi-test-data/q35/SSDT.dimmpxm [deleted file]
tests/acpi-test-data/rebuild-expected-aml.sh [deleted file]
tests/bios-tables-test.c
tests/data/acpi/pc/APIC [new file with mode: 0644]
tests/data/acpi/pc/APIC.cphp [new file with mode: 0644]
tests/data/acpi/pc/APIC.dimmpxm [new file with mode: 0644]
tests/data/acpi/pc/DSDT [new file with mode: 0644]
tests/data/acpi/pc/DSDT.bridge [new file with mode: 0644]
tests/data/acpi/pc/DSDT.cphp [new file with mode: 0644]
tests/data/acpi/pc/DSDT.dimmpxm [new file with mode: 0644]
tests/data/acpi/pc/DSDT.ipmikcs [new file with mode: 0644]
tests/data/acpi/pc/DSDT.memhp [new file with mode: 0644]
tests/data/acpi/pc/DSDT.numamem [new file with mode: 0644]
tests/data/acpi/pc/FACP [new file with mode: 0644]
tests/data/acpi/pc/FACS [new file with mode: 0644]
tests/data/acpi/pc/HPET [new file with mode: 0644]
tests/data/acpi/pc/NFIT.dimmpxm [new file with mode: 0644]
tests/data/acpi/pc/SLIT.cphp [new file with mode: 0644]
tests/data/acpi/pc/SLIT.memhp [new file with mode: 0644]
tests/data/acpi/pc/SRAT.cphp [new file with mode: 0644]
tests/data/acpi/pc/SRAT.dimmpxm [new file with mode: 0644]
tests/data/acpi/pc/SRAT.memhp [new file with mode: 0644]
tests/data/acpi/pc/SRAT.numamem [new file with mode: 0644]
tests/data/acpi/pc/SSDT.dimmpxm [new file with mode: 0644]
tests/data/acpi/q35/APIC [new file with mode: 0644]
tests/data/acpi/q35/APIC.cphp [new file with mode: 0644]
tests/data/acpi/q35/APIC.dimmpxm [new file with mode: 0644]
tests/data/acpi/q35/DSDT [new file with mode: 0644]
tests/data/acpi/q35/DSDT.bridge [new file with mode: 0644]
tests/data/acpi/q35/DSDT.cphp [new file with mode: 0644]
tests/data/acpi/q35/DSDT.dimmpxm [new file with mode: 0644]
tests/data/acpi/q35/DSDT.ipmibt [new file with mode: 0644]
tests/data/acpi/q35/DSDT.memhp [new file with mode: 0644]
tests/data/acpi/q35/DSDT.numamem [new file with mode: 0644]
tests/data/acpi/q35/FACP [new file with mode: 0644]
tests/data/acpi/q35/FACS [new file with mode: 0644]
tests/data/acpi/q35/HPET [new file with mode: 0644]
tests/data/acpi/q35/MCFG [new file with mode: 0644]
tests/data/acpi/q35/NFIT.dimmpxm [new file with mode: 0644]
tests/data/acpi/q35/SLIT.cphp [new file with mode: 0644]
tests/data/acpi/q35/SLIT.memhp [new file with mode: 0644]
tests/data/acpi/q35/SRAT.cphp [new file with mode: 0644]
tests/data/acpi/q35/SRAT.dimmpxm [new file with mode: 0644]
tests/data/acpi/q35/SRAT.memhp [new file with mode: 0644]
tests/data/acpi/q35/SRAT.numamem [new file with mode: 0644]
tests/data/acpi/q35/SSDT.dimmpxm [new file with mode: 0644]
tests/data/acpi/rebuild-expected-aml.sh [new file with mode: 0755]