From: maier Date: Thu, 19 Sep 2013 06:54:32 +0000 (+0000) Subject: Bugfix: Use correct compiler X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79b1185282a1031aa7fa503faefed538b1f01400;p=dealii-svn.git Bugfix: Use correct compiler git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30819 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/a-framework/CMakeLists.txt b/tests/a-framework/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/a-framework/CMakeLists.txt +++ b/tests/a-framework/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/all-headers/CMakeLists.txt b/tests/all-headers/CMakeLists.txt index 132a53d483..254af938ff 100644 --- a/tests/all-headers/CMakeLists.txt +++ b/tests/all-headers/CMakeLists.txt @@ -16,6 +16,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) # # Header tests are special: diff --git a/tests/aniso/CMakeLists.txt b/tests/aniso/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/aniso/CMakeLists.txt +++ b/tests/aniso/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/base/CMakeLists.txt b/tests/base/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/base/CMakeLists.txt +++ b/tests/base/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/bits/CMakeLists.txt b/tests/bits/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/bits/CMakeLists.txt +++ b/tests/bits/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/cmake/setup_testsuite.cmake b/tests/cmake/setup_testsuite.cmake index 2726070d01..34989c5e3d 100644 --- a/tests/cmake/setup_testsuite.cmake +++ b/tests/cmake/setup_testsuite.cmake @@ -60,6 +60,7 @@ FIND_PACKAGE(deal.II 8.0 REQUIRED HINTS ${DEAL_II_BINARY_DIR} ${DEAL_II_DIR} ) INCLUDE(${DEAL_II_TARGET_CONFIG}) +SET(CMAKE_CXX_COMPILER ${DEAL_II_CXX_COMPILER} CACHE STRING "CXX Compiler.") FIND_PACKAGE(Perl REQUIRED) diff --git a/tests/codim_one/CMakeLists.txt b/tests/codim_one/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/codim_one/CMakeLists.txt +++ b/tests/codim_one/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/deal.II/CMakeLists.txt b/tests/deal.II/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/deal.II/CMakeLists.txt +++ b/tests/deal.II/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/distributed_grids/CMakeLists.txt b/tests/distributed_grids/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/distributed_grids/CMakeLists.txt +++ b/tests/distributed_grids/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/fail/CMakeLists.txt b/tests/fail/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/fail/CMakeLists.txt +++ b/tests/fail/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/fe/CMakeLists.txt b/tests/fe/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/fe/CMakeLists.txt +++ b/tests/fe/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/gla/CMakeLists.txt b/tests/gla/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/gla/CMakeLists.txt +++ b/tests/gla/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/grid/CMakeLists.txt b/tests/grid/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/grid/CMakeLists.txt +++ b/tests/grid/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/hp/CMakeLists.txt b/tests/hp/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/hp/CMakeLists.txt +++ b/tests/hp/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/integrators/CMakeLists.txt b/tests/integrators/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/integrators/CMakeLists.txt +++ b/tests/integrators/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/lac/CMakeLists.txt b/tests/lac/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/lac/CMakeLists.txt +++ b/tests/lac/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/lapack/CMakeLists.txt b/tests/lapack/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/lapack/CMakeLists.txt +++ b/tests/lapack/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/matrix_free/CMakeLists.txt b/tests/matrix_free/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/matrix_free/CMakeLists.txt +++ b/tests/matrix_free/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/metis/CMakeLists.txt b/tests/metis/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/metis/CMakeLists.txt +++ b/tests/metis/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/mpi/CMakeLists.txt b/tests/mpi/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/mpi/CMakeLists.txt +++ b/tests/mpi/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/multigrid/CMakeLists.txt b/tests/multigrid/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/multigrid/CMakeLists.txt +++ b/tests/multigrid/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/petsc/CMakeLists.txt b/tests/petsc/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/petsc/CMakeLists.txt +++ b/tests/petsc/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/serialization/CMakeLists.txt b/tests/serialization/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/serialization/CMakeLists.txt +++ b/tests/serialization/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/slepc/CMakeLists.txt b/tests/slepc/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/slepc/CMakeLists.txt +++ b/tests/slepc/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/trilinos/CMakeLists.txt b/tests/trilinos/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/trilinos/CMakeLists.txt +++ b/tests/trilinos/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS() diff --git a/tests/umfpack/CMakeLists.txt b/tests/umfpack/CMakeLists.txt index 80ff54bdfe..10ccea2a92 100644 --- a/tests/umfpack/CMakeLists.txt +++ b/tests/umfpack/CMakeLists.txt @@ -1,3 +1,4 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite) DEAL_II_PICKUP_TESTS()