[PATCH i-g-t] igt_core: Update doc on generated test-list.txt

Lucas De Marchi lucas.demarchi at intel.com
Fri May 3 13:34:50 UTC 2024


On Fri, May 03, 2024 at 08:55:46AM GMT, Gustavo Sousa wrote:
>Commit e72686b83b0b ("tests: create a single combined test list")
>updated the build to generate a single test-list.txt instead of the two
>single-tests.txt and multi-tests.txt files. Update the documentation in
>igt_core.c to reflect that.
>
>Signed-off-by: Gustavo Sousa <gustavo.sousa at intel.com>

Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>

thanks
Lucas De Marchi

>---
> lib/igt_core.c | 9 ++++-----
> 1 file changed, 4 insertions(+), 5 deletions(-)
>
>diff --git a/lib/igt_core.c b/lib/igt_core.c
>index 1abe3d3370d1..3ff3e0392316 100644
>--- a/lib/igt_core.c
>+++ b/lib/igt_core.c
>@@ -217,11 +217,10 @@
>  * On top of that tests may report unexpected results and minor issues to
>  * stderr. If stderr is non-empty the test result should be treated as "warn".
>  *
>- * The test lists are generated at build time. Simple testcases are listed in
>- * tests/single-tests.txt and tests with subtests are listed in
>- * tests/multi-tests.txt. When running tests with subtest from a test runner it
>- * is recommend to run each subtest individually, since otherwise the return
>- * code will only reflect the overall result.
>+ * The list of test executables is generated at build time and stored in
>+ * tests/test-list.txt. When running tests with subtest from a test runner it is
>+ * recommend to run each subtest individually, since otherwise the return code
>+ * will only reflect the overall result.
>  *
>  * To do that obtain the lists of subtests with "--list-subtests", which can be
>  * run as non-root and doesn't require a DRM driver to be loaded (or any GPU to
>-- 
>2.44.0
>


More information about the igt-dev mailing list