Skip to content
Snippets Groups Projects
Commit 1eb09fa5 authored by Steffen Müthing's avatar Steffen Müthing
Browse files

[!118] [!114] Skip test-cornerstoragerefwrap on buggy g++

Merge branch 'cherry-pick-09f3cd51' into 'releases/2.6'

ref:core/dune-geometry Merge branch 'skip-test-on-buggy-g++' into 'master'

ref:core/dune-geometry Closes: [[#19]].

See: [https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87288]

See merge request [[!114]]

Closes [#19]

(cherry picked from commit 09f3cd51)

c5ee6995 Skip test-cornerstoragerefwrap on buggy g++

See merge request [!118]

  [#19]: gitlab.dune-project.org/NoneNone/issues/19
  [https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87288]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87288
  [!114]: gitlab.dune-project.org/core/dune-geometry/merge_requests/114
  [!118]: gitlab.dune-project.org/core/dune-geometry/merge_requests/118
parents 02a07b9c 545265c6
No related branches found
No related tags found
1 merge request!118[!114] Skip test-cornerstoragerefwrap on buggy g++
Pipeline #15019 passed
......@@ -4,8 +4,18 @@ dune_add_test(SOURCES test-affinegeometry.cc
dune_add_test(SOURCES test-axisalignedcubegeometry.cc
LINK_LIBRARIES dunegeometry)
# whether the compiler is affected by
# https://gitlab.dune-project.org/core/dune-geometry/issues/19,
# a.k.a. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87288
set(ISSUE19_UNAFFECTED_GXX ON)
if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") AND
(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 8.2) AND
(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9))
set(ISSUE19_UNAFFECTED_GXX OFF)
endif()
dune_add_test(SOURCES test-cornerstoragerefwrap.cc
LINK_LIBRARIES dunegeometry)
LINK_LIBRARIES dunegeometry
CMAKE_GUARD ISSUE19_UNAFFECTED_GXX)
dune_add_test(SOURCES test-fromvertexcount.cc)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment