Commit graph

26 commits

Author SHA1 Message Date
Martin Beaudoin
2adbd0457a Correction for a problem with newer versions of CMake that are refusing to upload the test harness
results  to the CDash server.
The generated error message is the following: "Error message was: Illegal characters found in URL"

Diagnostic:
    If the environment variable CDASH_SUBMIT_LOCAL_HOST_ID is not initialized, the FQN hostname of the
system will be picked by the CMake/CTest scripts. The CTest internal system command used for retrieving
the FQN hostname is indeed leaving a carriage return in the returned hostname string.
That string is in turn reused to construct an URL that will be shared with the CDash service. The presence
of such characters (\n and \r) is no longer accepted by newer versions of CTest/CMake.

Solution:
    The solution is simply to check and remove such characters from the hostname string.
2018-04-15 21:51:43 -04:00
Henrik Rusche
07e9416f30 Bump version in headers 2016-06-21 15:04:12 +02:00
Henrik Rusche
a224c64812 Removing trailing whitespace, tabs and DOS CR & Fixing some indentation 2016-06-21 12:03:31 +02:00
Hrvoje Jasak
b2edaf2f52 Update version in CMakeLists.txt to 4.0 2016-06-07 16:33:27 +01:00
Martin Beaudoin
0a48ccb4d2 testHarness: adjusting the ctest command invocation for scripts
under Windows/Mingw
2015-09-23 15:18:27 +01:00
Martin Beaudoin
209da85a76 testHarness: improved CTest coding. Adjustments for the Windows port. 2015-09-23 15:18:27 +01:00
Martin Beaudoin
7004961828 testHarness: modifications for running the tests in parallel 2015-08-26 10:41:09 +01:00
Bernhard F.W. Gschaider
403fda0869 Adaption of CTest-Scripts for Mercurial 2015-08-24 20:54:44 +01:00
Martin Beaudoin
6cebda5e41 testHarness: adding the environment variable CDASH_SCM_INFO in order to override
the SCM information that gets appended at the end of the buildname string.

The buildname string is the string that will identify your test run when
published on the foam-extend CDash service.

When using git, this SCM information is picked up automatically from the CTest
script: -git-branch=the_git_branch_name-git-rev=the_git_revision_number.

But when using a non-git SCM (mercurial, etc), when the foam-extend source
code you are testing is not under a valid git repository, or simply when a user
needs to add more details to the standard SCM information (branch name and
revision number), then setting the environment variable CDASH_SCM_INFO to the
proper information will allow you to override the suffix we add at the end of
the buildname.

Please note that in order to keep the CMake script simple, for non-git
repositories, the fallback solution to try grabbing the information through
Mercurial has been removed. Please use the CDASH_SCM_INFO environment
varible instead.
2015-08-15 14:23:15 -04:00
Martin Beaudoin
e7d09787c8 testHarness: various adjustments for foam-extend 3.2. The results will now be reported on the foam-extend project CDash service on SourceForge.net 2015-06-17 23:07:46 -04:00
Henrik Rusche
a23acb0388 VERSION: version, headers, whitespace & tabs for 3.2. Author: Henrik Rusche. Merge: Henrik Rusche 2015-06-02 11:52:46 +02:00
Martin Beaudoin
cf6fd9f57a testHarness: adding git revision number to buildName 2015-05-28 12:13:15 -04:00
Henrik Rusche
0a02a92e53 Upgrade copyright notices & banner in source code 2015-05-17 15:58:16 +02:00
Henrik Rusche
3c5ba8da44 bump version number 2014-06-01 18:23:43 +02:00
Bernhard F.W. Gschaider
3e51fd20a2 Fix extra apostrophes added to the BUILDNAME which were added by a previous change 2014-05-29 21:31:56 +02:00
bgschaid@ice-sf.at
ee28daa3a5 Improve BUILDNAME in case of mercurial. Collateral damage: Timeout consistent 2014-05-16 10:00:07 +00:00
Hrvoje Jasak
9347abbb5c test harness enabled 2013-12-17 10:30:27 +00:00
Hrvoje Jasak
aac5de5e16 Renamed and cleaned foam-extend 2013-12-11 16:09:41 +00:00
Henrik Rusche
8141282b1d Convert tabs to fours spaces systematically 2013-07-18 10:50:29 +02:00
Henrik Rusche
3241862b6c Remove trailing whitespace systematically 2013-07-18 10:15:54 +02:00
Martin Beaudoin
068bc78dbb Fixing testHarness 2012-05-11 08:47:43 -07:00
Bernhard F.W. Gschaider
10124400a9 Adapted to get mercurial-branch
--HG--
branch : porousLagrangianBranch
2010-10-25 22:24:06 +02:00
Hrvoje Jasak
cabe00e177 Changes from Martin Beaudoin: test loop 2010-10-15 22:24:50 +01:00
Martin Beaudoin
f39555b198 Fix tutorials: basic/sixDOFSolver, combustion/dieselFoam/aachenBomb, combustion/reactingFoam/ras/counterFlowFlame2D 2010-10-09 15:40:40 -04:00
Martin Beaudoin
cf802d88a8 Moving the update commands to GIT; Fix problems with foamToTecplot360 2010-10-09 14:58:08 -04:00
Martin Beaudoin
7e4a9cbd27 Add test loop scripts under the directory testHarness. Add the necessary CMake files 2010-10-06 23:00:07 -04:00