2019-04-11 09:53:04 -04:00
|
|
|
// Copyright (c) 2012-2019 The Bitcoin Core developers
|
2015-01-05 23:39:40 -03:00
|
|
|
// Distributed under the MIT software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
2017-11-09 21:57:53 -03:00
|
|
|
#include <compat/sanity.h>
|
|
|
|
#include <key.h>
|
2019-04-11 09:44:10 -04:00
|
|
|
#include <test/setup_common.h>
|
2015-01-05 23:39:40 -03:00
|
|
|
|
|
|
|
#include <boost/test/unit_test.hpp>
|
2015-03-12 05:34:42 -03:00
|
|
|
|
|
|
|
BOOST_FIXTURE_TEST_SUITE(sanity_tests, BasicTestingSetup)
|
2015-01-05 23:39:40 -03:00
|
|
|
|
|
|
|
BOOST_AUTO_TEST_CASE(basic_sanity)
|
|
|
|
{
|
|
|
|
BOOST_CHECK_MESSAGE(glibc_sanity_test() == true, "libc sanity test");
|
|
|
|
BOOST_CHECK_MESSAGE(glibcxx_sanity_test() == true, "stdlib sanity test");
|
|
|
|
BOOST_CHECK_MESSAGE(ECC_InitSanityCheck() == true, "openssl ECC test");
|
|
|
|
}
|
|
|
|
|
|
|
|
BOOST_AUTO_TEST_SUITE_END()
|