Test harness: Modifications for OpenFOAM-1.6-ext
This commit is contained in:
parent
4a271dbf06
commit
b4895ca3d5
6 changed files with 18 additions and 22 deletions
|
@ -4,10 +4,10 @@
|
||||||
## # The following are required to uses Dart and the Cdash dashboard
|
## # The following are required to uses Dart and the Cdash dashboard
|
||||||
## ENABLE_TESTING()
|
## ENABLE_TESTING()
|
||||||
## INCLUDE(CTest)
|
## INCLUDE(CTest)
|
||||||
set(CTEST_PROJECT_NAME "OpenFOAM-1.6-ext_testing")
|
set(CTEST_PROJECT_NAME "OpenFOAM-1.6-ext")
|
||||||
set(CTEST_NIGHTLY_START_TIME "00:00:00 EST")
|
set(CTEST_NIGHTLY_START_TIME "00:00:00 EST")
|
||||||
|
|
||||||
set(CTEST_DROP_METHOD "http")
|
set(CTEST_DROP_METHOD "http")
|
||||||
set(CTEST_DROP_SITE "openfoam-extend.sourceforge.net")
|
set(CTEST_DROP_SITE "openfoam-extend.sourceforge.net")
|
||||||
set(CTEST_DROP_LOCATION "/CDash/submit.php?project=OpenFOAM-1.6-ext_testing")
|
set(CTEST_DROP_LOCATION "/CDash/submit.php?project=OpenFOAM-1.6-ext")
|
||||||
set(CTEST_DROP_SITE_CDASH TRUE)
|
set(CTEST_DROP_SITE_CDASH TRUE)
|
||||||
|
|
|
@ -31,6 +31,13 @@
|
||||||
# \*---------------------------------------------------------------------------*/
|
# \*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
MAJOR WARNING: THIS TEST HARNESS IS NOT READY YET FOR OPENFOAM-1.6-EXT
|
||||||
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Warning #1: Make sure your OpenFOAM environment is properly initialized before
|
Warning #1: Make sure your OpenFOAM environment is properly initialized before
|
||||||
running the test harness.
|
running the test harness.
|
||||||
|
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
## # The following are required to uses Dart and the Cdash dashboard
|
## # The following are required to uses Dart and the Cdash dashboard
|
||||||
## ENABLE_TESTING()
|
## ENABLE_TESTING()
|
||||||
## INCLUDE(CTest)
|
## INCLUDE(CTest)
|
||||||
set(CTEST_PROJECT_NAME "OpenFOAM-1.5-dev")
|
set(CTEST_PROJECT_NAME "OpenFOAM-1.6-ext")
|
||||||
set(CTEST_NIGHTLY_START_TIME "00:00:00 EST")
|
set(CTEST_NIGHTLY_START_TIME "00:00:00 EST")
|
||||||
|
|
||||||
set(CTEST_DROP_METHOD "http")
|
set(CTEST_DROP_METHOD "http")
|
||||||
set(CTEST_DROP_SITE "openfoam-extend.sourceforge.net")
|
set(CTEST_DROP_SITE "openfoam-extend.sourceforge.net")
|
||||||
set(CTEST_DROP_LOCATION "/CDash/submit.php?project=OpenFOAM-1.5-dev")
|
set(CTEST_DROP_LOCATION "/CDash/submit.php?project=OpenFOAM-1.6-ext")
|
||||||
set(CTEST_DROP_SITE_CDASH TRUE)
|
set(CTEST_DROP_SITE_CDASH TRUE)
|
||||||
|
|
|
@ -48,7 +48,7 @@ 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_of-1.6-ext-testing $WM_PROJECT_DIR/CTestConfig.cmake
|
cp ./CMakeFiles/CTestConfig.cmake.openfoam-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 openfoam-extend
|
||||||
|
@ -74,5 +74,5 @@ To submit your results to the CDash server on openfoam-extend, just use
|
||||||
the file CTestConfig.cmake.openfoam-extend.
|
the file CTestConfig.cmake.openfoam-extend.
|
||||||
|
|
||||||
If submitted to the CDash server on openfoam-extend, your results will be displayed here:
|
If submitted to the CDash server on openfoam-extend, your results will be displayed here:
|
||||||
http://openfoam-extend.sourceforge.net/CDash/index.php?project=OpenFOAM-1.6-ext_testing
|
http://openfoam-extend.sourceforge.net/CDash/index.php?project=OpenFOAM-1.6-ext
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ Directory Structure
|
||||||
===================
|
===================
|
||||||
|
|
||||||
OpenFOAM : CMake/CTest scripts for compilation and execution test harness for OpenFOAM.
|
OpenFOAM : CMake/CTest scripts for compilation and execution test harness for OpenFOAM.
|
||||||
OpenFOAM/1.6-dev : Test harness for OpenFOAM version 1.6-dev. See the file OpenFOAM/1.6-dev/README.txt for more information
|
OpenFOAM/1.6-ext : Test harness for OpenFOAM version 1.6-ext. See the file OpenFOAM/1.6-ext/README.txt for more information
|
||||||
|
|
||||||
OSIG : CMake/CTest scripts for OpenFOAM Special Interest Group (OSIG) test harness
|
OSIG : CMake/CTest scripts for OpenFOAM 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.
|
||||||
|
@ -42,7 +42,7 @@ Martin Beaudoin, Hydro-Quebec, 2010. All rights reserved.
|
||||||
Still, I recommand always checking that these two important files are up-to-date:
|
Still, I recommand always checking that these two important files are up-to-date:
|
||||||
|
|
||||||
cp ../CMakeFiles/CMakeLists.txt $WM_PROJECT_DIR
|
cp ../CMakeFiles/CMakeLists.txt $WM_PROJECT_DIR
|
||||||
cp ../CMakeFiles/CTestConfig.cmake.openfoam-extend_of-1.6-ext-testing $WM_PROJECT_DIR/CTestConfig.cmake
|
cp ../CMakeFiles/CTestConfig.cmake.openfoam-extend $WM_PROJECT_DIR/CTestConfig.cmake
|
||||||
|
|
||||||
|
|
||||||
7: Next, running the test loop is pretty simple:
|
7: Next, running the test loop is pretty simple:
|
||||||
|
@ -55,9 +55,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=OpenFOAM-1.6-ext_testing
|
URL : http://openfoam-extend.sourceforge.net/CDash/index.php?project=OpenFOAM-1.6-ext
|
||||||
Username : of-1.6-ext@of-extend.cdash
|
|
||||||
Password : onepasswd4all
|
|
||||||
|
|
||||||
|
|
||||||
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.
|
||||||
|
@ -71,15 +69,6 @@ Martin Beaudoin, Hydro-Quebec, 2010. All rights reserved.
|
||||||
|
|
||||||
10: In general, see the file $WM_PROJECT_DIR/testHarness/OpenFOAM/1.6-ext/README.txt for the necessary information about running the
|
10: In general, see the file $WM_PROJECT_DIR/testHarness/OpenFOAM/1.6-ext/README.txt for the necessary information about running the
|
||||||
test loop.
|
test loop.
|
||||||
(NB: I just found out a couple of mistakes in that file, so please use this message for now as per instructions for running the test loop.
|
|
||||||
I will fix this shortly. Sorry.)
|
|
||||||
|
|
||||||
|
|
||||||
11: As more people will start using these basic steps, I will supply more information about some other features that are available with
|
11: Please do not hesitate to report any problems, comments, suggestions about the test loop.
|
||||||
the test loop.
|
|
||||||
|
|
||||||
But I need to see those baby steps first... :)
|
|
||||||
|
|
||||||
|
|
||||||
12: Please do not hesitate to report any problems, comments, suggestions about the test loop.
|
|
||||||
This stuff runs great on my systems, but it needs to run even better on yours.
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
echo "This tutorial fails in octree search: blame Mattijs Janssens (HJ). Martin Beaudoin, Oct 12 2010"
|
echo "This tutorial fails in octree search: blame Mattijs Janssens (HJ). Martin Beaudoin, Oct 12 2010"
|
||||||
exit 0;
|
exit -1;
|
||||||
|
|
||||||
# Get application name
|
# Get application name
|
||||||
application=`getApplication`
|
application=`getApplication`
|
||||||
|
|
Reference in a new issue