From b6fb0d2fdc149fa07cbed5f95c734d999906e84e Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Fri, 18 Mar 2016 14:50:00 +0100 Subject: [PATCH] skip all-headers/bundled to avoid issues with testing an already installed library --- tests/all-headers/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/all-headers/CMakeLists.txt b/tests/all-headers/CMakeLists.txt index eda1e78467..80fc01a294 100644 --- a/tests/all-headers/CMakeLists.txt +++ b/tests/all-headers/CMakeLists.txt @@ -45,6 +45,10 @@ FILE(GLOB_RECURSE _headers RELATIVE ${_include_dir}/deal.II ${_include_dir}/deal.II/*.h ) +# Do not test bundled headers to avoid issues when tests are run +# for an already installed library +STRING(REGEX REPLACE "bundled/[^;]+;?" "" _headers "${_headers}") + FOREACH(_header ${_headers}) FOREACH(_build ${DEAL_II_BUILD_TYPES}) STRING(TOLOWER ${_build} _build_lowercase) -- 2.39.5