diff options
author | Chenhao Qu <chenhao.qu@mongodb.com> | 2022-07-27 11:34:15 +1000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-07-27 02:06:32 +0000 |
commit | f5ecae039eb5907378b55535b2facbc4ac7ee90f (patch) | |
tree | 36392d9ed4f2cc706d61724296de2f311f579184 /src/third_party/wiredtiger | |
parent | 5e481e78d31fa33c9f5c938fa187eeb1c28f4589 (diff) | |
download | mongo-f5ecae039eb5907378b55535b2facbc4ac7ee90f.tar.gz |
Import wiredtiger: 82e99d54c44e49b53586f1c8b80d44c5dde5acdf from branch mongodb-master
ref: d728d195b7..82e99d54c4
for: 6.1.0-rc0
WT-9634 s_export on a clean WT checkout complains about unit-test function
Diffstat (limited to 'src/third_party/wiredtiger')
-rw-r--r-- | src/third_party/wiredtiger/cmake/README.md | 2 | ||||
-rw-r--r-- | src/third_party/wiredtiger/cmake/configs/base.cmake | 12 | ||||
-rw-r--r-- | src/third_party/wiredtiger/import.data | 2 | ||||
-rwxr-xr-x | src/third_party/wiredtiger/test/evergreen.yml | 3 |
4 files changed, 5 insertions, 14 deletions
diff --git a/src/third_party/wiredtiger/cmake/README.md b/src/third_party/wiredtiger/cmake/README.md index d342c735a72..6b9a203b01a 100644 --- a/src/third_party/wiredtiger/cmake/README.md +++ b/src/third_party/wiredtiger/cmake/README.md @@ -99,7 +99,7 @@ There are a number of additional configuration options you can pass to the CMake * `-DENABLE_SODIUM=1` : Build the libsodium encryptor extension * `-DHAVE_DIAGNOSTIC=1` : Enable WiredTiger diagnostics (enabled by default for non Release build types) * `-DHAVE_REF_TRACK=1` : Enable WiredTiger to track recent state transitions for WT_REF structures (always enabled in diagnostic build) -* `-DHAVE_UNITTEST=1` : Enable WiredTiger unit tests (enabled by default) +* `-DHAVE_UNITTEST=1` : Enable WiredTiger C++ Catch2 based unit tests * `-DHAVE_ATTACH=1` : Enable to pause for debugger attach on failure * `-DENABLE_PYTHON=1` : Compile the python API (enabled by default if python is available) * `-DCMAKE_INSTALL_PREFIX=<path-to-install-directory>` : Path to install directory diff --git a/src/third_party/wiredtiger/cmake/configs/base.cmake b/src/third_party/wiredtiger/cmake/configs/base.cmake index 944023aeefc..1dfe95765c7 100644 --- a/src/third_party/wiredtiger/cmake/configs/base.cmake +++ b/src/third_party/wiredtiger/cmake/configs/base.cmake @@ -12,19 +12,11 @@ set(default_enable_tcmalloc ${HAVE_LIBTCMALLOC}) set(default_enable_debug_info ON) set(default_enable_static OFF) set(default_enable_shared ON) -set(default_have_unittest ON) if("${CMAKE_BUILD_TYPE}" MATCHES "^(Release|RelWithDebInfo)$") set(default_have_diagnostics OFF) endif() -# Disable unittests when building MSan, reports an use-of-uninitalized-value error due -# libstdc++ not being built with the sanitizer. -# See https://github.com/catchorg/Catch2/issues/899. -if("${CMAKE_BUILD_TYPE}" STREQUAL "MSan") - set(default_have_unittest OFF) -endif() - # Enable python if we have the minimum version. set(python_libs) set(python_version) @@ -118,8 +110,8 @@ config_bool( config_bool( HAVE_UNITTEST - "Enable WiredTiger unit tests" - DEFAULT ${default_have_unittest} + "Enable C++ Catch2 based WiredTiger unit tests" + DEFAULT OFF ) config_bool( diff --git a/src/third_party/wiredtiger/import.data b/src/third_party/wiredtiger/import.data index 2eee2b2ad1f..bdfce919c3c 100644 --- a/src/third_party/wiredtiger/import.data +++ b/src/third_party/wiredtiger/import.data @@ -2,5 +2,5 @@ "vendor": "wiredtiger", "github": "wiredtiger/wiredtiger.git", "branch": "mongodb-master", - "commit": "d728d195b7a4b8ce82a4c95bd71454e447034c7f" + "commit": "82e99d54c44e49b53586f1c8b80d44c5dde5acdf" } diff --git a/src/third_party/wiredtiger/test/evergreen.yml b/src/third_party/wiredtiger/test/evergreen.yml index 881d8d08b1d..9747d19674b 100755 --- a/src/third_party/wiredtiger/test/evergreen.yml +++ b/src/third_party/wiredtiger/test/evergreen.yml @@ -102,7 +102,6 @@ functions: # Define common config flags for the tasks to make it cleaner when configuring the tasks. # Note that the config flags are resolved prior to changing to cmake_build directory. - # Unittest is enabled by default in cmake but disabled here because it causes failures in the s_all processing. DEFINED_EVERGREEN_CONFIG_FLAGS="${CMAKE_BUILD_TYPE|} \ ${CMAKE_INSTALL_PREFIX|} \ ${CMAKE_PREFIX_PATH|} \ @@ -114,7 +113,7 @@ functions: ${HAVE_BUILTIN_EXTENSION_ZLIB|} \ ${HAVE_BUILTIN_EXTENSION_ZSTD|} \ ${HAVE_FTRUNCATE|} \ - ${HAVE_UNITTEST|-DHAVE_UNITTEST=0} \ + ${HAVE_UNITTEST} \ ${NON_BARRIER_DIAGNOSTIC_YIELDS|} \ ${HAVE_DIAGNOSTIC|} \ ${GNU_C_VERSION|} \ |