"Fossies" - the Fresh Open Source Software Archive

Member "qt-everywhere-src-6.3.1/qtbase/tests/auto/testlib/selftests/patches/0001-Fix-Catch2-compiling-for-INTEGRITY.patch" (25 May 2022, 1236 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 8cc32e6302edc38c0e525edc654cf57bf1f68bea Mon Sep 17 00:00:00 2001
    2 From: Tatiana Borisova <tatiana.borisova@qt.io>
    3 Date: Mon, 13 Sep 2021 15:45:26 +0300
    4 Subject: [PATCH] Fix Catch2 compiling for INTEGRITY
    5 
    6 - Exclude Green Hills compiler from Catch2's POSIX signal handling.
    7   GHS, at least on INTEGRITY, doesn't support full POSIX signals.
    8 
    9 Task-number: QTBUG-96176
   10 Pick-to: 6.2 6.2.0
   11 Change-Id: Ifec06dca43ed766cb7335e40fc357d0d7bc463a6
   12 ---
   13  tests/auto/testlib/selftests/catch_p_p.h | 2 +-
   14  1 file changed, 1 insertion(+), 1 deletion(-)
   15 
   16 diff --git a/tests/auto/testlib/selftests/catch_p_p.h b/tests/auto/testlib/selftests/catch_p_p.h
   17 index 596bfe63dd..47a31f9079 100644
   18 --- a/tests/auto/testlib/selftests/catch_p_p.h
   19 +++ b/tests/auto/testlib/selftests/catch_p_p.h
   20 @@ -179,7 +179,7 @@ namespace Catch {
   21  
   22  ////////////////////////////////////////////////////////////////////////////////
   23  // We know some environments not to support full POSIX signals
   24 -#if defined(__CYGWIN__) || defined(__QNX__) || defined(__EMSCRIPTEN__) || defined(__DJGPP__)
   25 +#if defined(__CYGWIN__) || defined(__QNX__) || defined(__ghs) || defined(__EMSCRIPTEN__) || defined(__DJGPP__)
   26      #define CATCH_INTERNAL_CONFIG_NO_POSIX_SIGNALS
   27  #endif
   28  
   29 -- 
   30 2.25.1
   31