diff options
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu/0007-tests-meson.build-use-relative-path-to-refer-to-file.patch')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu/0007-tests-meson.build-use-relative-path-to-refer-to-file.patch | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/meta/recipes-devtools/qemu/qemu/0007-tests-meson.build-use-relative-path-to-refer-to-file.patch b/meta/recipes-devtools/qemu/qemu/0007-tests-meson.build-use-relative-path-to-refer-to-file.patch index 74de158b2e..7c24f432f2 100644 --- a/meta/recipes-devtools/qemu/qemu/0007-tests-meson.build-use-relative-path-to-refer-to-file.patch +++ b/meta/recipes-devtools/qemu/qemu/0007-tests-meson.build-use-relative-path-to-refer-to-file.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 77ebf67d0c96f51da91c8499200ebd13f4dcdd68 Mon Sep 17 00:00:00 2001 | 1 | From ebeab06747306ec16299207bf4bd7481a472b4de Mon Sep 17 00:00:00 2001 |
2 | From: Changqing Li <changqing.li@windriver.com> | 2 | From: Changqing Li <changqing.li@windriver.com> |
3 | Date: Thu, 14 Jan 2021 06:33:04 +0000 | 3 | Date: Thu, 14 Jan 2021 06:33:04 +0000 |
4 | Subject: [PATCH 07/11] tests/meson.build: use relative path to refer to files | 4 | Subject: [PATCH] tests/meson.build: use relative path to refer to files |
5 | 5 | ||
6 | Fix error like: | 6 | Fix error like: |
7 | Fatal error: can't create tests/ptimer-test.p/..._qemu-5.2.0_hw_core_ptimer.c.o: File name too long | 7 | Fatal error: can't create tests/ptimer-test.p/..._qemu-5.2.0_hw_core_ptimer.c.o: File name too long |
@@ -13,23 +13,26 @@ Upstream-Status: Submitted [send to qemu-devel] | |||
13 | 13 | ||
14 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | 14 | Signed-off-by: Changqing Li <changqing.li@windriver.com> |
15 | --- | 15 | --- |
16 | tests/unit/meson.build | 4 ++-- | 16 | tests/unit/meson.build | 6 +++--- |
17 | 1 file changed, 2 insertions(+), 2 deletions(-) | 17 | 1 file changed, 3 insertions(+), 3 deletions(-) |
18 | 18 | ||
19 | diff --git a/tests/unit/meson.build b/tests/unit/meson.build | 19 | diff --git a/tests/unit/meson.build b/tests/unit/meson.build |
20 | index 228a21d03c..272fb4c6ca 100644 | 20 | index d5248ae51..2c581f055 100644 |
21 | --- a/tests/unit/meson.build | 21 | --- a/tests/unit/meson.build |
22 | +++ b/tests/unit/meson.build | 22 | +++ b/tests/unit/meson.build |
23 | @@ -47,7 +47,7 @@ tests = { | 23 | @@ -127,17 +127,17 @@ endif |
24 | 'test-keyval': [testqapi], | 24 | |
25 | 'test-logging': [], | 25 | if have_system |
26 | 'test-uuid': [], | 26 | tests += { |
27 | - 'ptimer-test': ['ptimer-test-stubs.c', meson.project_source_root() / 'hw/core/ptimer.c'], | 27 | - 'ptimer-test': ['ptimer-test-stubs.c', meson.project_source_root() / 'hw/core/ptimer.c'], |
28 | + 'ptimer-test': ['ptimer-test-stubs.c', '../../hw/core/ptimer.c'], | 28 | + 'ptimer-test': ['ptimer-test-stubs.c', '../../hw/core/ptimer.c'], |
29 | 'test-qapi-util': [], | 29 | 'test-iov': [], |
30 | 'test-interval-tree': [], | 30 | 'test-opts-visitor': [testqapi], |
31 | 'test-xs-node': [qom], | 31 | 'test-xs-node': [qom], |
32 | @@ -138,7 +138,7 @@ if have_system | 32 | - 'test-virtio-dmabuf': [meson.project_source_root() / 'hw/display/virtio-dmabuf.c'], |
33 | + 'test-virtio-dmabuf': ['../../hw/display/virtio-dmabuf.c'], | ||
34 | 'test-qmp-cmds': [testqapi], | ||
35 | 'test-xbzrle': [migration], | ||
33 | 'test-util-sockets': ['socket-helpers.c'], | 36 | 'test-util-sockets': ['socket-helpers.c'], |
34 | 'test-base64': [], | 37 | 'test-base64': [], |
35 | 'test-bufferiszero': [], | 38 | 'test-bufferiszero': [], |
@@ -38,6 +41,3 @@ index 228a21d03c..272fb4c6ca 100644 | |||
38 | 'test-vmstate': [migration, io], | 41 | 'test-vmstate': [migration, io], |
39 | 'test-yank': ['socket-helpers.c', qom, io, chardev] | 42 | 'test-yank': ['socket-helpers.c', qom, io, chardev] |
40 | } | 43 | } |
41 | -- | ||
42 | 2.44.0 | ||
43 | |||