File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ BITCOIN_TESTS =\
58
58
test/netbase_tests.cpp \
59
59
test/pmt_tests.cpp \
60
60
test/rpc_tests.cpp \
61
+ test/sanity_tests.cpp \
61
62
test/script_P2SH_tests.cpp \
62
63
test/script_tests.cpp \
63
64
test/scriptnum_tests.cpp \
Original file line number Diff line number Diff line change
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
+
5
+ #include " compat/sanity.h"
6
+ #include " key.h"
7
+
8
+ #include < boost/test/unit_test.hpp>
9
+ BOOST_AUTO_TEST_SUITE (sanity_tests)
10
+
11
+ BOOST_AUTO_TEST_CASE(basic_sanity)
12
+ {
13
+ BOOST_CHECK_MESSAGE (glibc_sanity_test () == true , " libc sanity test" );
14
+ BOOST_CHECK_MESSAGE (glibcxx_sanity_test () == true , " stdlib sanity test" );
15
+ BOOST_CHECK_MESSAGE (ECC_InitSanityCheck () == true , " openssl ECC test" );
16
+ }
17
+
18
+ BOOST_AUTO_TEST_SUITE_END ()
You can’t perform that action at this time.
0 commit comments