Merge #11722: Switched sync.{cpp,h} to std threading primitives.
[bitcoinplatinum.git] / src / test / sanity_tests.cpp
blobb3ec6d34c73584c7d25ff7954b0db2dfb10c0bb8
1 // Copyright (c) 2012-2015 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 #include <compat/sanity.h>
6 #include <key.h>
7 #include <test/test_bitcoin.h>
9 #include <boost/test/unit_test.hpp>
11 BOOST_FIXTURE_TEST_SUITE(sanity_tests, BasicTestingSetup)
13 BOOST_AUTO_TEST_CASE(basic_sanity)
15 BOOST_CHECK_MESSAGE(glibc_sanity_test() == true, "libc sanity test");
16 BOOST_CHECK_MESSAGE(glibcxx_sanity_test() == true, "stdlib sanity test");
17 BOOST_CHECK_MESSAGE(ECC_InitSanityCheck() == true, "openssl ECC test");
20 BOOST_AUTO_TEST_SUITE_END()