You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sanity_tests.cpp 657B

1234567891011121314151617181920
  1. // Copyright (c) 2012-2013 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.
  4. #include "compat/sanity.h"
  5. #include "key.h"
  6. #include "test/test_bitcoin.h"
  7. #include <boost/test/unit_test.hpp>
  8. BOOST_FIXTURE_TEST_SUITE(sanity_tests, BasicTestingSetup)
  9. BOOST_AUTO_TEST_CASE(basic_sanity)
  10. {
  11. BOOST_CHECK_MESSAGE(glibc_sanity_test() == true, "libc sanity test");
  12. BOOST_CHECK_MESSAGE(glibcxx_sanity_test() == true, "stdlib sanity test");
  13. BOOST_CHECK_MESSAGE(ECC_InitSanityCheck() == true, "openssl ECC test");
  14. }
  15. BOOST_AUTO_TEST_SUITE_END()