[Spice-commits] server/tests
Frediano Ziglio
fziglio at kemper.freedesktop.org
Sat Sep 2 07:08:00 UTC 2017
server/tests/test-display-no-ssl.c | 1 +
server/tests/test-display-resolution-changes.c | 1 +
server/tests/test-display-streaming.c | 2 +-
server/tests/test-display-width-stride.c | 1 +
server/tests/test-two-servers.c | 2 ++
5 files changed, 6 insertions(+), 1 deletion(-)
New commits:
commit 407ad2d63f17511cb4eb05e81ab674135f5c88b6
Author: Jonathon Jongsma <jjongsma at redhat.com>
Date: Fri Sep 1 17:03:26 2017 -0500
tests: destroy test object
Acked-by: Frediano Ziglio <fziglio at redhat.com>
diff --git a/server/tests/test-display-no-ssl.c b/server/tests/test-display-no-ssl.c
index b061d6ed..c13f5a5e 100644
--- a/server/tests/test-display-no-ssl.c
+++ b/server/tests/test-display-no-ssl.c
@@ -62,6 +62,7 @@ int main(void)
core->timer_start(ping_timer, ping_ms);
basic_event_loop_mainloop();
+ test_destroy(test);
return 0;
}
diff --git a/server/tests/test-display-resolution-changes.c b/server/tests/test-display-resolution-changes.c
index 7234cf06..f6bb0839 100644
--- a/server/tests/test-display-resolution-changes.c
+++ b/server/tests/test-display-resolution-changes.c
@@ -77,6 +77,7 @@ int main(void)
core->timer_start(ping_timer, ping_ms);
basic_event_loop_mainloop();
+ test_destroy(test);
return 0;
}
diff --git a/server/tests/test-display-streaming.c b/server/tests/test-display-streaming.c
index 05a6d126..a881f11e 100644
--- a/server/tests/test-display-streaming.c
+++ b/server/tests/test-display-streaming.c
@@ -248,6 +248,6 @@ int main(int argc, char **argv)
get_commands(&commands, &num_commands);
test_set_command_list(test, commands, num_commands);
basic_event_loop_mainloop();
- free(commands);
+ test_destroy(test);
return 0;
}
diff --git a/server/tests/test-display-width-stride.c b/server/tests/test-display-width-stride.c
index 51a225d6..711cb664 100644
--- a/server/tests/test-display-width-stride.c
+++ b/server/tests/test-display-width-stride.c
@@ -112,6 +112,7 @@ int main(void)
core->timer_start(ping_timer, ping_ms);
basic_event_loop_mainloop();
+ test_destroy(test);
return 0;
}
diff --git a/server/tests/test-two-servers.c b/server/tests/test-two-servers.c
index 363238cb..40a0e571 100644
--- a/server/tests/test-two-servers.c
+++ b/server/tests/test-two-servers.c
@@ -50,5 +50,7 @@ int main(void)
test_set_simple_command_list(t2, simple_commands, G_N_ELEMENTS(simple_commands));
basic_event_loop_mainloop();
+ test_destroy(t1);
+ test_destroy(t2);
return 0;
}
More information about the Spice-commits
mailing list