Commit graph

18 commits

Author SHA1 Message Date
Martin Beaudoin
f6f896a576 testHarness: adjusting the Makefile generator for cmake on Windows 2015-09-23 15:18: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
7d10a1bbff testHarness: adjusting the Makefile generator for cmake on Windows 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
9826a2d0c3 testHarness:
For each test case, add a label from the name of the top most tutorial
directories (eg: basic, incompressible, etc). We will use this label in order
to categorize the various test cases under a more generic 'topic', so we can
for instance limit the testharness to only the suite of 'compressible' test
cases, etc., simply by using the ctest -L command.

ctest --print-labels will print the list of all available labels.
2015-09-23 15:18:26 +01:00
Martin Beaudoin
3c9b632afb testHarness:
Choosing better names for the optional site and user CTestConfig.cmake files.
Adding a comment about the expected locations for those 2 files.
2015-09-23 15:18:26 +01:00
Martin Beaudoin
a6bccbe942 testHarness:
allow overriding CTestConfig.cmake values for using local site CDash service or
for using personnal (user space) CDash service. The expected order of precedence
is respected: the personnal settings will override the site settings, and the
site settings will override the default settings for the foam-extend CDash
service hosted on SourceForge.net.
2015-09-23 15:18:26 +01:00
Martin Beaudoin
f5816ce345 testHarness: adding support for CDash/CTest subprojects 2015-09-23 15:18:26 +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
25357dc569 testHarness: adjusting some messages for foam-extend 2015-08-06 12:16:44 +01: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
Martin Beaudoin
cf6fd9f57a testHarness: adding git revision number to buildName 2015-05-28 12:13:15 -04: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
45fc0403b3 Initial update of test harness. 2013-12-16 14:35:43 +00:00