diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-08-25 20:46:30 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-08-26 10:22:18 +0200 |
commit | 18922d25f2c6ed37ecbf893e6062e87ebc3e66ff (patch) | |
tree | 3c919d8f90de2a10374ad9ffd908e60443233cdd /tests/atk_test_image.c | |
parent | 6f233b459cef66b3f0201cdb2d9b46c1f11bc5f5 (diff) | |
download | at-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_image.c')
-rw-r--r-- | tests/atk_test_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/atk_test_image.c b/tests/atk_test_image.c index ce3bc3e..71d5af7 100644 --- a/tests/atk_test_image.c +++ b/tests/atk_test_image.c @@ -28,7 +28,7 @@ static void teardown_image_test (gpointer fixture, gconstpointer user_data) { - kill (child_pid, SIGTERM); + terminate_app (); } static void |