`README.md`: mention `--filter` for testing (#4629)

Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
This commit is contained in:
Alex Guteniev 2024-04-27 03:17:32 +03:00 коммит произвёл GitHub
Родитель 825a0e09d3
Коммит 61acd0f294
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -265,6 +265,11 @@ will run the single test found under VSO_0000000_any_calling_conventions.
* You can invoke `stl-lit` with any arbitrary subdirectory of a test suite. In libcxx this allows you to have finer
control over what category of tests you would like to run. The following will run all the libcxx map tests.
+ `python tests\utils\stl-lit\stl-lit.py ..\..\llvm-project\libcxx\test\std\containers\associative\map`
* You can also use the `--filter` option to include tests whose names match a regular expression. The following
command will run tests with "atomic_wait" in their names in both the std and libcxx test suites.
+ `python tests\utils\stl-lit\stl-lit.py ..\..\llvm-project\libcxx\test ..\..\tests\std --filter=atomic_wait`
* There's also a `--filter-out` option to exclude tests matching a regular expression;
`--filter=iota --filter-out=view` would run tests with names matching "iota" but not "view".
## Interpreting The Results Of Tests