From d08789bbbf8ef4347e91fa36b1225b18e275fba8 Mon Sep 17 00:00:00 2001 From: sh1zoid <sh1zoid@yandex-team.ru> Date: Thu, 10 Feb 2022 16:50:05 +0300 Subject: Restoring authorship annotation for <sh1zoid@yandex-team.ru>. Commit 1 of 2. --- library/cpp/testing/unittest/utmain.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'library/cpp/testing/unittest/utmain.cpp') diff --git a/library/cpp/testing/unittest/utmain.cpp b/library/cpp/testing/unittest/utmain.cpp index 305bc6b40f..9b2a02d581 100644 --- a/library/cpp/testing/unittest/utmain.cpp +++ b/library/cpp/testing/unittest/utmain.cpp @@ -40,12 +40,12 @@ #include <unistd.h> #endif -#ifdef WITH_VALGRIND +#ifdef WITH_VALGRIND #define NOTE_IN_VALGRIND(test) VALGRIND_PRINTF("%s::%s", test->unit->name.data(), test->name) -#else +#else #define NOTE_IN_VALGRIND(test) -#endif - +#endif + const size_t MAX_COMMENT_MESSAGE_LENGTH = 1024 * 1024; // 1 MB using namespace NUnitTest; @@ -655,9 +655,9 @@ int NUnitTest::RunMain(int argc, char** argv) { } catch (...) { } -#ifndef UT_SKIP_EXCEPTIONS +#ifndef UT_SKIP_EXCEPTIONS try { -#endif +#endif NTesting::THook::CallBeforeRun(); Y_DEFER { NTesting::THook::CallAfterRun(); }; @@ -761,11 +761,11 @@ int NUnitTest::RunMain(int argc, char** argv) { } } return ret; -#ifndef UT_SKIP_EXCEPTIONS +#ifndef UT_SKIP_EXCEPTIONS } catch (...) { Cerr << "caught exception in test suite(" << CurrentExceptionMessage() << ")" << Endl; } -#endif +#endif return 1; } -- cgit v1.2.3