[Spice-commits] tests/meson.build

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue May 18 14:02:20 UTC 2021


 tests/meson.build |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 18f753c52fd2608ceebfec332c3875288ff183d1
Author: Frediano Ziglio <freddy77 at gmail.com>
Date:   Tue May 18 14:23:16 2021 +0100

    meson: Generate missing intermediate target
    
    Tell build system how to generate the intermediate file
    generated_test_messages.h.
    Otherwise if removed the build will then fail.
    This is also probably the reason some build intermittently fail.
    
    Signed-off-by: Frediano Ziglio <freddy77 at gmail.com>
    Acked-by: Marc-André Lureau <marcandre.lureau at redhat.com>

diff --git a/tests/meson.build b/tests/meson.build
index 053aa73..5d6afea 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -42,7 +42,8 @@ if spice_common_generate_client_code or spice_common_generate_server_code
         '-H',
         '@INPUT@', '@OUTPUT@'
       ]],
-      ['test_demarshallers', test_proto, 'generated_test_demarshallers.c', [
+      ['test_demarshallers', test_proto,
+        ['generated_test_demarshallers.c', 'generated_test_messages.h'], [
         '--suffix=_test',
         '--generate-demarshallers',
         '--client',


More information about the Spice-commits mailing list