Commit graph

9 commits

Author SHA1 Message Date
Martin Beaudoin
1370279d73 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-05 20:38:57 -04:00
Martin Beaudoin
346ef0f5f0 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-04 10:20:31 -04:00
Martin Beaudoin
17d7081e85 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-04 09:35:20 -04:00
Martin Beaudoin
cd57c4d86e testHarness: adding support for CDash/CTest subprojects 2015-09-03 12:26:04 -04: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