Skip to content

Commit

Permalink
docs: merge tests/README.md and building_and_running_tests.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrainiuk authored Jun 20, 2024
1 parent 1e8a363 commit 1b942e5
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions docs/building_and_running_tests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,20 @@ following:
and then used in oneMKL by setting ``-REF_BLAS_ROOT=/path/to/lapack/install``
and ``-DREF_LAPACK_ROOT=/path/to/lapack/install``.

To run the tests, either use the CMake test driver, by running ``ctest``, or run
individual test binaries individually.
You can re-run tests without re-building the entire project.

To run the tests, either run test binaries individually, or use `ctest` CMake test driver program.

.. code-block:: bash
# Run all tests
ctest
# Run only Gpu specific tests
ctest -R Gpu
# Exclude Cpu tests
ctest -E Cpu
For more `ctest` options, refer to `ctest manual page <https://cmake.org/cmake/help/v3.13/manual/ctest.1.html>`_.

When running tests you may encounter the issue ``BACKEND NOT FOUND EXCEPTION``,
you may need to add your ``<oneMKL build directory>/lib`` to your
Expand Down

0 comments on commit 1b942e5

Please sign in to comment.