From ab01045bcdb6ec7555fe0364d75139fcfa361991 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 1 May 2022 13:09:02 -0400 Subject: qtest: don't run coverage when TESTS is given --- manual/installation.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'manual') diff --git a/manual/installation.rst b/manual/installation.rst index 64aa7921..7c416cb5 100644 --- a/manual/installation.rst +++ b/manual/installation.rst @@ -144,7 +144,17 @@ Run ``ctest`` to run the test suite. Since the real tests are implemented with `qtest `__, you will want to pass ``--verbose`` to ``cmake`` so you can see the individual test outputs. Otherwise, you will see a small number of ``ctest`` -commands that take a very long to run. +commands that take a very long to run. If you want to run only a +specific test file in a specific test suite, you can set the ``TESTS`` +environment variable (used by ``qtest-driver``) and pass the ``-R`` +parameter to ``ctest``. For example: + +:: + + TESTS=qutil ctest --verbose -R libtests + +would run only ``qutil.test`` from the ``libtests`` test suite. + .. _installation: -- cgit v1.2.3-54-g00ecf