소스 검색

Disable date string parsing test for NO_CACHING.

Christian Mauderer 9 년 전
부모
커밋
ad10b1cc98
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      test/private.c

+ 2 - 2
test/private.c

@@ -533,9 +533,9 @@ START_TEST(test_mask_data)
 }
 END_TEST
 
-
 START_TEST(test_parse_date_string)
 {
+#if !defined(NO_CACHING)
 	time_t now = time(0);
 	struct tm *tm = gmtime(&now);
 	char date[64] = {0};
@@ -581,10 +581,10 @@ START_TEST(test_parse_date_string)
 		        tm->tm_sec);
 		ck_assert_uint_eq((uintmax_t)parse_date_string(date), (uintmax_t)now);
 	}
+#endif
 }
 END_TEST
 
-
 Suite *
 make_private_suite(void)
 {