File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ List of options provided by CMake:
128128| UMF_BUILD_EXAMPLES | Build UMF examples | ON/OFF | ON |
129129| UMF_BUILD_FUZZTESTS | Build UMF fuzz tests (supported only on Linux with Clang) | ON/OFF | OFF |
130130| UMF_BUILD_GPU_EXAMPLES | Build UMF GPU examples | ON/OFF | OFF |
131- | UMF_DEVELOPER_MODE | Enable additional developer checks | ON/OFF | OFF |
131+ | UMF_DEVELOPER_MODE | Enable additional developer checks and logs | ON/OFF | OFF |
132132| UMF_FORMAT_CODE_STYLE | Add clang, cmake, and black -format-check and -format-apply targets to make | ON/OFF | OFF |
133133| UMF_TESTS_FAIL_ON_SKIP | Treat skips in tests as fail | ON/OFF | OFF |
134134| UMF_USE_ASAN | Enable AddressSanitizer checks | ON/OFF | OFF |
Original file line number Diff line number Diff line change @@ -31,9 +31,11 @@ int fput_count = 0;
3131
3232int mock_fputs (const char *s, FILE *stream) {
3333 fput_count++;
34+ #ifndef UMF_DEVELOPER_MODE
3435 if (!expected_message.empty ()) {
3536 EXPECT_STREQ (s, expected_message.c_str ());
3637 }
38+ #endif
3739 EXPECT_EQ (stream, expected_stream);
3840 return (int )strlen (s);
3941}
You can’t perform that action at this time.
0 commit comments