Skip to content

Commit 31e4e62

Browse files
committed
[FIXUP] for "cmake: Build test_bitcoin executable"
Otherwise, the ctest command fails when building with MSVC on Windows.
1 parent f2dbb17 commit 31e4e62

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/test/compilerbug_tests.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66

77
BOOST_AUTO_TEST_SUITE(compilerbug_tests)
88

9+
// At least one test case is required to avoid the "Test setup error: no test
10+
// cases matching filter or all test cases were disabled" errror.
11+
BOOST_AUTO_TEST_CASE(dummy)
12+
{
13+
BOOST_CHECK(true);
14+
}
15+
916
#if defined(__GNUC__)
1017
// This block will also be built under clang, which is fine (as it supports noinline)
1118
void __attribute__ ((noinline)) set_one(unsigned char* ptr)

0 commit comments

Comments
 (0)