From f3438892c84ab0fc559e8047b35abef2f04169b0 Mon Sep 17 00:00:00 2001 From: Jon Rood Date: Wed, 17 Jul 2024 16:09:27 -0600 Subject: [PATCH 1/2] Change CDash project name (#828) --- CTestConfig.cmake | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/CTestConfig.cmake b/CTestConfig.cmake index 96c56b9f7..9f5228bc5 100644 --- a/CTestConfig.cmake +++ b/CTestConfig.cmake @@ -1,15 +1,6 @@ -## This file should be placed in the root directory of your project. -## Then modify the CMakeLists.txt file in the root directory of your -## project to incorporate the testing dashboard. -## -## # The following are required to submit to the CDash dashboard: -## ENABLE_TESTING() -## INCLUDE(CTest) - set(CTEST_PROJECT_NAME "PeleC") set(CTEST_NIGHTLY_START_TIME "00:00:00 EDT") - set(CTEST_DROP_METHOD "http") set(CTEST_DROP_SITE "my.cdash.org") -set(CTEST_DROP_LOCATION "/submit.php?project=PeleC") +set(CTEST_DROP_LOCATION "/submit.php?project=Pele") set(CTEST_DROP_SITE_CDASH TRUE) From 989b9de28ef5949482de11fb4afca724f2d6ae71 Mon Sep 17 00:00:00 2001 From: Jon Rood Date: Thu, 18 Jul 2024 11:02:00 -0600 Subject: [PATCH 2/2] Enable CTest earlier (#829) --- CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c99d755c6..9060ec799 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,11 +1,13 @@ ############################ BASE ###################################### -cmake_minimum_required (VERSION 3.14 FATAL_ERROR) +cmake_minimum_required (VERSION 3.23 FATAL_ERROR) project(PeleC CXX) set(CMAKE_EXPORT_COMPILE_COMMANDS ON CACHE INTERNAL "") list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMake") include(CMakePackageConfigHelpers) include(PeleUtils) +enable_testing() +include(CTest) ########################## OPTIONS ##################################### @@ -121,7 +123,4 @@ init_code_checks() include(SetRpath) add_subdirectory(Exec) - -enable_testing() -include(CTest) add_subdirectory(Tests)