summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMarcel Apfelbaum2013-12-26 15:54:20 +0100
committerMichael S. Tsirkin2014-01-26 12:06:49 +0100
commitc2304b52f1b20fa79d299177d1fe75df2d265bfa (patch)
tree11edfb63aa94e6346179f4c96ba93a227cf2c4e2 /configure
parentacpi unit-test: add test files (diff)
downloadqemu-c2304b52f1b20fa79d299177d1fe75df2d265bfa.tar.gz
qemu-c2304b52f1b20fa79d299177d1fe75df2d265bfa.tar.xz
qemu-c2304b52f1b20fa79d299177d1fe75df2d265bfa.zip
configure: added acpi unit-test files
Ensure configure will set-up links for the files if the build is created in other directory. Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index b472694cb2..236764a3bd 100755
--- a/configure
+++ b/configure
@@ -4774,6 +4774,10 @@ for bios_file in \
do
FILES="$FILES pc-bios/`basename $bios_file`"
done
+for test_file in `find $source_path/tests/acpi-test-data -type f`
+do
+ FILES="$FILES tests/acpi-test-data`echo $test_file | sed -e 's/.*acpi-test-data//'`"
+done
mkdir -p $DIRS
for f in $FILES ; do
if [ -e "$source_path/$f" ] && [ "$source_path" != `pwd` ]; then