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_util.h | |
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_util.h')
-rw-r--r-- | tests/atk_test_util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/atk_test_util.h b/tests/atk_test_util.h index b2376d5..9fb7480 100644 --- a/tests/atk_test_util.h +++ b/tests/atk_test_util.h @@ -40,6 +40,7 @@ pid_t child_pid; void run_app (const char *file_name); AtspiAccessible *get_root_obj (const char *file_name); +void terminate_app (void); void clean_exit_on_fail (); #endif /* _ATK_TEST_UTIL_H */ |