testHarness: various adjustments for foam-extend 3.2. The results will now be reported on the foam-extend project CDash service on SourceForge.net

This commit is contained in:
Martin Beaudoin 2015-06-17 23:00:45 -04:00
parent ef26ee1688
commit e7d09787c8
17 changed files with 32 additions and 28 deletions

View file

@ -23,7 +23,7 @@
# #
# Description # Description
# CMakeLists.txt file for implementing a test harness for the compilation # CMakeLists.txt file for implementing a test harness for the compilation
# and test of foam-extend-3.1 using Kitware CTest./CMake/CDash # and test of foam-extend-3.2 using Kitware CTest/CMake/CDash
# #
# The results will be submitted to the CDash server identified by the file # The results will be submitted to the CDash server identified by the file
# CTestConfig.cmake # CTestConfig.cmake
@ -36,7 +36,7 @@
cmake_minimum_required (VERSION 2.8) cmake_minimum_required (VERSION 2.8)
PROJECT(foam-extend-3.1) PROJECT(foam-extend-3.2)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Initialization of CTest specific variables # Initialization of CTest specific variables

View file

@ -1,13 +1,15 @@
## This file should be placed in the root directory of your project. ## This file should be placed in the root directory of your project.
## Then modify the CMakeLists.txt file in the root directory of your ## Then modify the CMakeLists.txt file in the root directory of your
## project to incorporate the testing dashboard. ## project to incorporate the testing dashboard.
## # The following are required to uses Dart and the Cdash dashboard ##
## # The following are required to submit to the CDash dashboard:
## ENABLE_TESTING() ## ENABLE_TESTING()
## INCLUDE(CTest) ## INCLUDE(CTest)
set(CTEST_PROJECT_NAME "foam-extend-3.1")
set(CTEST_NIGHTLY_START_TIME "00:00:00 EST") set(CTEST_PROJECT_NAME "foam-extend-3.2")
set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
set(CTEST_DROP_METHOD "http") set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "openfoam-extend.sourceforge.net") set(CTEST_DROP_SITE "foam-extend.sourceforge.net")
set(CTEST_DROP_LOCATION "/CDash/submit.php?project=foam-extend-3.1") set(CTEST_DROP_LOCATION "/CDash/submit.php?project=foam-extend-3.2")
set(CTEST_DROP_SITE_CDASH TRUE) set(CTEST_DROP_SITE_CDASH TRUE)

View file

@ -6,7 +6,7 @@ This part of the repository is for FOAM test harnesses.
Directory Structure Directory Structure
=================== ===================
foam-extend-3.1 : Test harness for foam-extend version 3.1. See the file foam-extend-3.1/README.txt for more information foam-extend-3.2 : Test harness for foam-extend version 3.2. See the file foam-extend-3.2/README.txt for more information
OSIG : CMake/CTest scripts for FOAM Special Interest Group (OSIG) test harness OSIG : CMake/CTest scripts for FOAM Special Interest Group (OSIG) test harness
OSIG/TurboMachinery : Test harness for the TurboMachinery OSIG. See the file OSIG/Turbomachinery/README.txt for more information. OSIG/TurboMachinery : Test harness for the TurboMachinery OSIG. See the file OSIG/Turbomachinery/README.txt for more information.
@ -34,7 +34,7 @@ Martin Beaudoin, Hydro-Quebec, 2010. All rights reserved.
5: move to the runDir directory for the FOAM test harness 5: move to the runDir directory for the FOAM test harness
cd $WM_PROJECT_DIR/testHarness/foam-extend/3.1/runDir cd $WM_PROJECT_DIR/testHarness/foam-extend/3.2/runDir
6: Normally, if using the master branch, everything should already be setup for you to run the test harness. 6: Normally, if using the master branch, everything should already be setup for you to run the test harness.
@ -46,7 +46,7 @@ Martin Beaudoin, Hydro-Quebec, 2010. All rights reserved.
7: Next, running the test loop is pretty simple: 7: Next, running the test loop is pretty simple:
cd $WM_PROJECT_DIR/testHarness/foam-extend/3.1/runDir # you should already be there... cd $WM_PROJECT_DIR/testHarness/foam-extend/3.2/runDir # you should already be there...
./Allclean ./Allclean
./Allrun_Experimental ./Allrun_Experimental
@ -54,7 +54,7 @@ Martin Beaudoin, Hydro-Quebec, 2010. All rights reserved.
8: The results will be published on the CDash dashboard on openfoam-extend. 8: The results will be published on the CDash dashboard on openfoam-extend.
To see your results: To see your results:
URL : http://openfoam-extend.sourceforge.net/CDash/index.php?project=foam-extend-3.1 URL : http://foam-extend.sourceforge.net/CDash/index.php?project=foam-extend-3.2
9: You can customize your system identifier on the dashboard using the environment variable $CDASH_SUBMIT_LOCAL_HOST_ID. 9: You can customize your system identifier on the dashboard using the environment variable $CDASH_SUBMIT_LOCAL_HOST_ID.
@ -66,7 +66,7 @@ Martin Beaudoin, Hydro-Quebec, 2010. All rights reserved.
NB: Please no "forward slash" or "/" in the system ID; it looks like CDash will choke on this. NB: Please no "forward slash" or "/" in the system ID; it looks like CDash will choke on this.
10: In general, see the file $WM_PROJECT_DIR/testHarness/foam-extend/3.1/README.txt for the necessary information about running the 10: In general, see the file $WM_PROJECT_DIR/testHarness/foam-extend/3.2/README.txt for the necessary information about running the
test loop. test loop.

View file

@ -1,9 +1,9 @@
# /*-------------------------------------------------------------------------*\ # /*-------------------------------------------------------------------------*\
# ========= | # ========= |
# \\ / F ield | foam-extend: Open Source CFD # \\ / F ield | foam-extend: Open Source CFD
# \\ / O peration | # \\ / O peration | Version: 3.2
# \\ / A nd | For copyright notice see file Copyright # \\ / A nd | Web: http://www.foam-extend.org
# \\/ M anipulation | # \\/ M anipulation | For copyright notice see file Copyright
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# License # License
# This file is part of foam-extend. # This file is part of foam-extend.
@ -23,7 +23,7 @@
# #
# Description # Description
# CMakeLists.txt file for implementing a test harness for the compilation # CMakeLists.txt file for implementing a test harness for the compilation
# and test of foam-extend-3.1 using Kitware CTest./CMake/CDash # and test of foam-extend-3.2 using Kitware CTest/CMake/CDash
# #
# The results will be submitted to the CDash server identified by the file # The results will be submitted to the CDash server identified by the file
# CTestConfig.cmake # CTestConfig.cmake
@ -36,7 +36,7 @@
cmake_minimum_required (VERSION 2.8) cmake_minimum_required (VERSION 2.8)
PROJECT(foam-extend-3.1) PROJECT(foam-extend-3.2)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Initialization of CTest specific variables # Initialization of CTest specific variables

View file

@ -1,13 +1,15 @@
## This file should be placed in the root directory of your project. ## This file should be placed in the root directory of your project.
## Then modify the CMakeLists.txt file in the root directory of your ## Then modify the CMakeLists.txt file in the root directory of your
## project to incorporate the testing dashboard. ## project to incorporate the testing dashboard.
## # The following are required to uses Dart and the Cdash dashboard ##
## # The following are required to submit to the CDash dashboard:
## ENABLE_TESTING() ## ENABLE_TESTING()
## INCLUDE(CTest) ## INCLUDE(CTest)
set(CTEST_PROJECT_NAME "foam-extend-3.1")
set(CTEST_NIGHTLY_START_TIME "00:00:00 EST") set(CTEST_PROJECT_NAME "foam-extend-3.2")
set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
set(CTEST_DROP_METHOD "http") set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "openfoam-extend.sourceforge.net") set(CTEST_DROP_SITE "foam-extend.sourceforge.net")
set(CTEST_DROP_LOCATION "/CDash/submit.php?project=foam-extend-3.1") set(CTEST_DROP_LOCATION "/CDash/submit.php?project=foam-extend-3.2")
set(CTEST_DROP_SITE_CDASH TRUE) set(CTEST_DROP_SITE_CDASH TRUE)

View file

@ -48,10 +48,10 @@ a) You can set your local system identifier using the environment variable
b) Install the CMakeLists.txt and CTestConfig.cmake files by executing the following commands: b) Install the CMakeLists.txt and CTestConfig.cmake files by executing the following commands:
cp ./CMakeFiles/CMakeLists.txt $WM_PROJECT_DIR cp ./CMakeFiles/CMakeLists.txt $WM_PROJECT_DIR
cp ./CMakeFiles/CTestConfig.cmake.openfoam-extend $WM_PROJECT_DIR/CTestConfig.cmake cp ./CMakeFiles/CTestConfig.cmake.foam-extend $WM_PROJECT_DIR/CTestConfig.cmake
c) Run the test harness and push your results on the CDash server on openfoam-extend c) Run the test harness and push your results on the CDash server on foam-extend
cd ./runDir; ./Allclean; ./Allrun_Experimental cd ./runDir; ./Allclean; ./Allrun_Experimental
or or
@ -70,9 +70,9 @@ Both Allrun_Experimental and Allrun_Nightly scripts will submit their results
to the CDash server of your choice, as specified by the file to the CDash server of your choice, as specified by the file
$WM_PROJECT_DIR/CTestConfig.cmake. $WM_PROJECT_DIR/CTestConfig.cmake.
To submit your results to the CDash server on openfoam-extend, just use To submit your results to the CDash server on foam-extend, just use
the file CTestConfig.cmake.openfoam-extend. the file CTestConfig.cmake.foam-extend.
If submitted to the CDash server on openfoam-extend, your results will be displayed here: If submitted to the CDash server on foam-extend, your results will be displayed here:
http://openfoam-extend.sourceforge.net/CDash/index.php?project=foam-extend-3.1 http://foam-extend.sourceforge.net/CDash/index.php?project=foam-extend-3.2