From e96a9e351c983ee3b28eeeffd5e7cd5e42852752 Mon Sep 17 00:00:00 2001 From: Edoardo Zoni Date: Mon, 16 Sep 2024 18:11:10 -0700 Subject: [PATCH] Docs: how to use `add_subdirectory` for new tests --- Docs/source/developers/testing.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Docs/source/developers/testing.rst b/Docs/source/developers/testing.rst index 5bbc7d0fef4..ee5c82aeea9 100644 --- a/Docs/source/developers/testing.rst +++ b/Docs/source/developers/testing.rst @@ -175,6 +175,8 @@ If you need a new Python package dependency for testing, please add it in `Regre Sometimes two or more tests share a large number of input parameters. The shared input parameters can be collected in a "base" input file that can be passed as a runtime parameter in the actual test input files through the parameter ``FILE``. +If the new test is added in a new directory that did not exist before, please add the name of that directory with the command ``add_subdirectory`` in `Physics_applications/CMakeLists.txt `__ or `Tests/CMakeLists.txt `__, depending on where the new test directory is located. + Naming conventions for automated tests --------------------------------------