[3/7] libstdc++: Document timeout and timeout-factor of simd tests
Checks
Commit Message
Signed-off-by: Matthias Kretz <m.kretz@gsi.de>
libstdc++-v3/ChangeLog:
* testsuite/experimental/simd/README.md: Document the timeout
and timeout-factor directives. Minor typo fixed.
---
libstdc++-v3/testsuite/experimental/simd/README.md | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
--
──────────────────────────────────────────────────────────────────────────
Dr. Matthias Kretz https://mattkretz.github.io
GSI Helmholtz Centre for Heavy Ion Research https://gsi.de
stdₓ::simd
──────────────────────────────────────────────────────────────────────────
Comments
On Wed, 15 Feb 2023 at 20:50, Matthias Kretz via Libstdc++
<libstdc++@gcc.gnu.org> wrote:
>
>
>
> Signed-off-by: Matthias Kretz <m.kretz@gsi.de>
>
> libstdc++-v3/ChangeLog:
>
> * testsuite/experimental/simd/README.md: Document the timeout
> and timeout-factor directives. Minor typo fixed.
OK for all relevant branches (trunk/12/11).
@@ -139,7 +139,13 @@ allowed_distance)` macros.
test then shows as "XFAIL: ...". If the test passes, the test shows "XPASS:
...".
-All patterns are matched via
+* `timeout: <number>`
+ Set the timeout of this test to `<number>` seconds.
+
+* `timeout-factor: <number>`
+ Multiply the default timeout with `<number>`.
+
+All patterns except `timeout` and `timeout-factor` are matched via
```sh
case '<test context>' in
<pattern>)
@@ -147,7 +153,7 @@ case '<test context>' in
;;
esac
```
-The `<CXXFLAGS pattern>` is implicitly adds a `*` wildcard before and after the
+The `<CXXFLAGS pattern>` implicitly adds a `*` wildcard before and after the
pattern. Thus, the `CXXFLAGS` pattern matches a substring and all other
patterns require a full match.