Skip to content

Commit 080557f

Browse files
committed
Merge branch 'develop' of github.com:idefix-code/idefix into develop
2 parents 3c69e45 + a6eebd1 commit 080557f

109 files changed

Lines changed: 2434 additions & 64 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ test/**/*.pyc
4141
test/**/*.dat
4242
test/**/cmake_packages*
4343
test/**/
44+
idefix-tests.junit.xml
4445

4546
# machine specific cache and hidden files
4647
.*

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ repos:
4343
rev: v6.1.2
4444
hooks:
4545
- id: inifix-format
46+
files: ^(test/).*\.(ini)$ # want to skip pytest.ini
4647

4748
- repo: https://github.com/Lucas-C/pre-commit-hooks
4849
rev: v1.5.5

doc/source/testing.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,17 @@ How tests are driven (testme scripts)
7171
Each test directory contains a small Python "testMe" driver that uses the helper Python
7272
class documented in the repository:
7373

74+
- See the test launcher documentation: :doc:`test.py <testing/testLauncher>`
7475
- See the test helper documentation: :doc:`idfxTest <testing/idfxTest>`
7576

76-
That helper (idfxTest) is responsible for:
77+
The test launcher (test.py) is responsible for:
78+
79+
- Loading all the test definitions by search all the ``testme.json`` files in the ``test``
80+
directory.
81+
- Calling the :doc:`idfxTest <testing/idfxTest>` helper to run the particular test.
82+
- Generate reports about success and failures.
83+
84+
The helper (idfxTest) is responsible for:
7785

7886
- parsing TESTME_OPTIONS-like flags (precision, MPI, CUDA, reconstruction, vector potential, etc.),
7987
- calling configure / compile / run,
@@ -108,10 +116,12 @@ Relevant files
108116

109117
- Workflow entry point: .github/workflows/idefix-ci.yml
110118
- Reusable jobs: .github/workflows/idefix-ci-jobs.yml
119+
- Test launcher documentation: :doc:`test launcher <testing/testLauncher>`
111120
- Test helper documentation: :doc:`idfxTest <testing/idfxTest>`
112121

113122
.. toctree::
114123
:maxdepth: 2
115124
:caption: Contents:
116125

126+
testing/testLauncher.rst
117127
testing/idfxTest.rst

doc/source/testing/idfxTest.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ The constructor parses command-line arguments using ``argparse``. These options
7474
* - ``-Werror``
7575
- ``Werror``
7676
- Treat compiler warnings as errors.
77+
* - ``-ccache``
78+
- ``ccache``
79+
- Enable usage of ccache to build the tests and reduce the build time.
7780

7881
Main Methods
7982
------------

0 commit comments

Comments
 (0)