From 8555a3e3cc65e5a9d57d476d5f3efadaf85c25b0 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 17 Aug 2012 12:40:09 -0400 Subject: [PATCH] Remove useless non-cross-platform tests. --- src/test/util_tests.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/util_tests.cpp b/src/test/util_tests.cpp index 2bfda616..3a4c035a 100644 --- a/src/test/util_tests.cpp +++ b/src/test/util_tests.cpp @@ -103,11 +103,13 @@ BOOST_AUTO_TEST_CASE(util_HexStr) BOOST_AUTO_TEST_CASE(util_DateTimeStrFormat) { +/*These are platform-dependant and thus removed to avoid useless test failures BOOST_CHECK_EQUAL(DateTimeStrFormat("%x %H:%M:%S", 0), "01/01/70 00:00:00"); BOOST_CHECK_EQUAL(DateTimeStrFormat("%x %H:%M:%S", 0x7FFFFFFF), "01/19/38 03:14:07"); // Formats used within Bitcoin BOOST_CHECK_EQUAL(DateTimeStrFormat("%x %H:%M:%S", 1317425777), "09/30/11 23:36:17"); BOOST_CHECK_EQUAL(DateTimeStrFormat("%x %H:%M", 1317425777), "09/30/11 23:36"); +*/ } BOOST_AUTO_TEST_CASE(util_ParseParameters)