From 18922d25f2c6ed37ecbf893e6062e87ebc3e66ff Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 25 Aug 2019 20:46:30 +0200 Subject: tests: use sub-second sleeps to wait for application startup This allows to reduce the testsuite completion time from almost 3 minutes to about 3s. This however showed that we were not waiting for the application to terminate. Add terminate_app() which ensures this, to be used instead of only killing the application. --- tests/atk_test_state_set.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/atk_test_state_set.c') diff --git a/tests/atk_test_state_set.c b/tests/atk_test_state_set.c index ea0e9ce..f895c68 100644 --- a/tests/atk_test_state_set.c +++ b/tests/atk_test_state_set.c @@ -28,7 +28,7 @@ static void teardown_state_set_test (gpointer fixture, gconstpointer user_data) { - kill (child_pid, SIGTERM); + terminate_app (); } static void -- cgit v1.2.1