"Fossies" - the Fresh Open Source Software Archive

Member "qt-everywhere-src-6.3.1/qtbase/tests/auto/testlib/selftests/patches/0001-Catch2-Fix-console-width-for-Qt-tests.patch" (25 May 2022, 972 Bytes) of package /linux/misc/qt-everywhere-src-6.3.1.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 From 426c2d7e32bc2f252e9d3323f633ac73222a7afc Mon Sep 17 00:00:00 2001
    2 From: Samuli Piippo <samuli.piippo@qt.io>
    3 Date: Thu, 20 Jan 2022 09:04:54 +0200
    4 Subject: [PATCH] Catch2: Fix console width for Qt tests
    5 
    6 Disabled by Qt so that test failures are not line-broken
    7 ---
    8  tests/auto/testlib/selftests/catch_p_p.h | 2 ++
    9  1 file changed, 2 insertions(+)
   10 
   11 diff --git a/tests/auto/testlib/selftests/catch_p_p.h b/tests/auto/testlib/selftests/catch_p_p.h
   12 index db1fed3b98..26bb41f4f0 100644
   13 --- a/tests/auto/testlib/selftests/catch_p_p.h
   14 +++ b/tests/auto/testlib/selftests/catch_p_p.h
   15 @@ -8413,7 +8413,9 @@ namespace Catch {
   16  #define CATCH_TEMP_CLARA_CONFIG_CONSOLE_WIDTH CATCH_CLARA_TEXTFLOW_CONFIG_CONSOLE_WIDTH
   17  #undef CATCH_CLARA_TEXTFLOW_CONFIG_CONSOLE_WIDTH
   18  #endif
   19 +#if 0 // Disabled by Qt so that test failures are not line-broken
   20  #define CATCH_CLARA_TEXTFLOW_CONFIG_CONSOLE_WIDTH CATCH_CONFIG_CONSOLE_WIDTH-1
   21 +#endif
   22  
   23  #ifdef __clang__
   24  #pragma clang diagnostic push