summaryrefslogtreecommitdiff
path: root/tests/atk_test_state_set.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2019-08-25 20:46:30 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-08-26 10:22:18 +0200
commit18922d25f2c6ed37ecbf893e6062e87ebc3e66ff (patch)
tree3c919d8f90de2a10374ad9ffd908e60443233cdd /tests/atk_test_state_set.c
parent6f233b459cef66b3f0201cdb2d9b46c1f11bc5f5 (diff)
downloadat-spi2-atk-18922d25f2c6ed37ecbf893e6062e87ebc3e66ff.tar.gz
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.
Diffstat (limited to 'tests/atk_test_state_set.c')
-rw-r--r--tests/atk_test_state_set.c2
1 files changed, 1 insertions, 1 deletions
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