diff --git a/src/unit_tests/C++/apex_init.cpp b/src/unit_tests/C++/apex_init.cpp index a94d4ada..fa36ad6b 100644 --- a/src/unit_tests/C++/apex_init.cpp +++ b/src/unit_tests/C++/apex_init.cpp @@ -1,10 +1,12 @@ #include "apex_api.hpp" +#include int main (int argc, char** argv) { APEX_UNUSED(argc); APEX_UNUSED(argv); apex::init("apex::init unit test", 0, 1); apex::apex_options::use_screen_output(true); + sleep(1); apex::finalize(); apex::cleanup(); return 0; diff --git a/src/unit_tests/C++/apex_init_args.cpp b/src/unit_tests/C++/apex_init_args.cpp index a94d4ada..fa36ad6b 100644 --- a/src/unit_tests/C++/apex_init_args.cpp +++ b/src/unit_tests/C++/apex_init_args.cpp @@ -1,10 +1,12 @@ #include "apex_api.hpp" +#include int main (int argc, char** argv) { APEX_UNUSED(argc); APEX_UNUSED(argv); apex::init("apex::init unit test", 0, 1); apex::apex_options::use_screen_output(true); + sleep(1); apex::finalize(); apex::cleanup(); return 0; diff --git a/src/unit_tests/C/apex_init.c b/src/unit_tests/C/apex_init.c index 33a128c8..962afd84 100644 --- a/src/unit_tests/C/apex_init.c +++ b/src/unit_tests/C/apex_init.c @@ -5,6 +5,7 @@ int main (int argc, char** argv) { apex_init("apex_init unit test", 0, 1); apex_set_use_screen_output(1); + sleep(1); apex_finalize(); apex_cleanup(); return 0; diff --git a/src/unit_tests/C/apex_init_args.c b/src/unit_tests/C/apex_init_args.c index 766d527f..d6b20666 100644 --- a/src/unit_tests/C/apex_init_args.c +++ b/src/unit_tests/C/apex_init_args.c @@ -5,6 +5,7 @@ int main (int argc, char** argv) { apex_init("apex_init_args unit test", 0, 1); apex_set_use_screen_output(1); + sleep(1); apex_finalize(); apex_cleanup(); return 0;