diff options
author | Gregory Maxwell <greg@xiph.org> | 2012-08-17 09:42:35 -0700 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2012-08-17 09:42:35 -0700 |
commit | 10ffb456678147fe33f6eacc16c6b58147047cfb (patch) | |
tree | 6680f84971f6ba9e0f0c2d786caa59c6b8292bb8 | |
parent | a108d3defb6f40a2a0cf17e27c08b0246a765d28 (diff) | |
parent | 8555a3e3cc65e5a9d57d476d5f3efadaf85c25b0 (diff) |
Merge pull request #1681 from TheBlueMatt/fixtests
Remove useless non-cross-platform tests.
-rw-r--r-- | src/test/util_tests.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/util_tests.cpp b/src/test/util_tests.cpp index 2bfda61675..3a4c035a30 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) |