From: brarcher Date: Sun, 22 Sep 2013 17:22:49 +0000 (+0000) Subject: Add comments at end of #endif X-Git-Tag: 0.10.0~451 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=88d635d185d694ee7d889f847f142821178e454c;p=check Add comments at end of #endif git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@763 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- diff --git a/tests/check_check_master.c b/tests/check_check_master.c index 6c8d16e..22103da 100644 --- a/tests/check_check_master.c +++ b/tests/check_check_master.c @@ -92,7 +92,7 @@ static master_test_t master_tests[] = { { "Environment Double Timeout Tests", CK_ERROR, "Test timeout expired" }, { "Environment Double Timeout Tests", CK_ERROR, "Test timeout expired" }, { "Environment Double Timeout Tests", CK_ERROR, "Test timeout expired" }, -#endif +#endif /* HAVE_WORKING_SETENV */ { "Default Timeout Tests", CK_ERROR, "Test timeout expired" }, #ifdef HAVE_LIBRT @@ -185,8 +185,8 @@ static master_test_t master_tests[] = { { "User Double Timeout Scaling Tests", CK_ERROR, "Test timeout expired" }, { "User Double Timeout Scaling Tests", CK_ERROR, "Test timeout expired" }, { "User Double Timeout Scaling Tests", CK_ERROR, "Test timeout expired" }, -#endif -#endif +#endif /* HAVE_WORKING_SETENV */ +#endif /* TIMEOUT_TESTS_ENABLED */ { "Limit Tests", CK_ERROR, "Early exit with return value 1" }, { "Limit Tests", CK_FAILURE, "Completed properly" }, diff --git a/tests/check_check_sub.c b/tests/check_check_sub.c index 12b8fdb..759231d 100644 --- a/tests/check_check_sub.c +++ b/tests/check_check_sub.c @@ -735,7 +735,7 @@ void init_master_tests_lineno(int num_master_tests) { LINENO_sleep2, LINENO_sleep5, LINENO_sleep9, -#endif +#endif /* HAVE_WORKING_SETENV */ /* Default Timeout Tests */ LINENO_eternal, #ifdef HAVE_LIBRT @@ -828,8 +828,8 @@ void init_master_tests_lineno(int num_master_tests) { LINENO_sleep5, LINENO_sleep9, LINENO_sleep14, -#endif -#endif +#endif /* HAVE_WORKING_SETENV */ +#endif /* TIMEOUT_TESTS_ENABLED */ /* Limit Tests */ "-1", @@ -885,7 +885,7 @@ Suite *make_sub_suite(void) TCase *tc_timeout_scale_double; TCase *tc_timeout_usr_scale_double; #endif /* HAVE_WORKING_SETENV */ -#endif +#endif /* TIMEOUT_TESTS_ENABLED */ TCase *tc_limit; TCase *tc_messaging_and_fork; @@ -946,8 +946,8 @@ Suite *make_sub_suite(void) suite_add_tcase (s, tc_timeout_scale_double); suite_add_tcase (s, tc_timeout_usr_scale_int); suite_add_tcase (s, tc_timeout_usr_scale_double); -#endif -#endif +#endif /* HAVE_WORKING_SETENV */ +#endif /* TIMEOUT_TESTS_ENABLED */ suite_add_tcase (s, tc_limit); suite_add_tcase (s, tc_messaging_and_fork); @@ -1114,8 +1114,8 @@ Suite *make_sub_suite(void) tcase_add_test (tc_timeout_usr_scale_double, test_sleep5); tcase_add_test (tc_timeout_usr_scale_double, test_sleep9); tcase_add_test (tc_timeout_usr_scale_double, test_sleep14); -#endif -#endif +#endif /* HAVE_WORKING_SETENV */ +#endif /* TIMEOUT_TESTS_ENABLED */ tcase_add_test (tc_limit, test_early_exit); tcase_add_test (tc_limit, test_null);