You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -178,17 +178,20 @@ the need to store large test vector files in git, and instead can be generated a
178
178
179
179
To run the unit tests, from the cmake build directory run:
180
180
```sh
181
-
test/matx_test
181
+
make -j test
182
182
```
183
183
184
-
This will execute all unit tests defined. If you wish to execute a subset of tests, or run with different options, you
185
-
may run test/matx_test directly with parameters defined by [Google Test](https://github.com/google/googletest). To run matx_test
186
-
directly, you must be inside the build/test directory for the correct paths to be set. For example,
187
-
to run only tests with the name FFT:
184
+
This will execute all unit tests defined. It is also possible to build and execute a single test, for example:
185
+
```
186
+
make test_00_operators_interp_test
187
+
test/test_00_operators_interp_test
188
+
```
189
+
190
+
To run a subset of tests, it is possible to use [ctest](https://cmake.org/cmake/help/latest/manual/ctest.1.html) from inside the `build/test` directory. For example, to run only tests with the name FFT:
Copy file name to clipboardExpand all lines: docs/_sources/basics/build.rst
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,13 +88,20 @@ To build unit tests, pass the argument ``-DMATX_BUILD_TESTS=ON`` to CMake to con
88
88
89
89
make -j test
90
90
91
-
This will compile and run all unit tests. For more control over which tests to run, you may run test/matx_test directly with parameters
92
-
defined by Google Test (https://github.com/google/googletest). To run matx_test directly, you must be inside the build/test directory
93
-
for the correct paths to be set. For example, to run only tests with the name FFT:
91
+
This will execute all unit tests defined. It is also possible to build and execute a single test, for example:
94
92
95
93
.. code-block:: shell
96
94
97
-
test/matx_test --gtest_filter="*FFT*"
95
+
make test_00_operators_interp_test
96
+
test/test_00_operators_interp_test
97
+
98
+
To run a subset of tests, it is possible to use `ctest <https://cmake.org/cmake/help/latest/manual/ctest.1.html>`_ from inside the ``build/test`` directory. For example, to run only tests with the name FFT:
0 commit comments