Skip to content
Snippets Groups Projects
Commit 09f3cd51 authored by Jö Fahlke's avatar Jö Fahlke
Browse files

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

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]

  [#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


Closes #19
parents d642ac94 c5ee6995
No related branches found
No related tags found
1 merge request!114Skip test-cornerstoragerefwrap on buggy g++
Pipeline #14518 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