[Spice-commits] 3 commits - .gitlab-ci.yml server/tests
Frediano Ziglio
fziglio at kemper.freedesktop.org
Wed Mar 14 10:18:53 UTC 2018
.gitlab-ci.yml | 2 +-
server/tests/test-listen.c | 2 +-
server/tests/valgrind/glib.supp | 19 +++++++++++++++++++
3 files changed, 21 insertions(+), 2 deletions(-)
New commits:
commit f1b2d09b00b67cb154d0190b35134a04f5f5ea7b
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Tue Mar 13 14:53:09 2018 +0000
valgrind: Ignore some library leaks
Ignore getaddrinfo and libproxy leaks.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
diff --git a/server/tests/valgrind/glib.supp b/server/tests/valgrind/glib.supp
index ccfab67d..c4625bba 100644
--- a/server/tests/valgrind/glib.supp
+++ b/server/tests/valgrind/glib.supp
@@ -491,3 +491,22 @@
...
fun:g_object_new_valist
}
+
+{
+ getaddrinfo
+ Memcheck:Leak
+ fun:malloc
+ ...
+ fun:__resolv_conf_allocate
+ ...
+ fun:getaddrinfo
+}
+
+{
+ px_proxy_factory_get_proxies
+ Memcheck:Leak
+ fun:malloc
+ fun:tls_get_addr_tail
+ ...
+ fun:px_proxy_factory_get_proxies
+}
commit f53f9725e1c44641b3656e4e2d625da390aa995d
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Tue Mar 13 14:05:19 2018 +0000
test-listen: Increase failure timeout
The timeout is too short when the test run under Valgrind
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
diff --git a/server/tests/test-listen.c b/server/tests/test-listen.c
index c63ee17e..d355b471 100644
--- a/server/tests/test-listen.c
+++ b/server/tests/test-listen.c
@@ -85,7 +85,7 @@ static void test_event_loop_destroy(TestEventLoop *event_loop)
static void test_event_loop_run(TestEventLoop *event_loop)
{
- event_loop->core->timer_start(event_loop->timeout_timer, 5000);
+ event_loop->core->timer_start(event_loop->timeout_timer, 50000);
basic_event_loop_mainloop();
}
commit 67d46708344c6e7dec6847ef9a3111711991bc55
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Tue Mar 13 13:37:15 2018 +0000
ci: Add glib-networking package
This is required by the new test-listen test to connect using
TLS.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 94325604..535d220d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,7 +3,7 @@ image: fedora:latest
before_script:
- >
dnf install 'dnf-command(copr)' git libtool make libasan orc-devel
- python3 python3-six python3-pyparsing
+ python3 python3-six python3-pyparsing glib-networking
-y
- dnf copr enable @spice/nightly -y
- dnf builddep spice -y
More information about the Spice-commits
mailing list