]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Document timeout and timeout-factor of simd tests
authorMatthias Kretz <m.kretz@gsi.de>
Thu, 2 Feb 2023 09:48:10 +0000 (10:48 +0100)
committerMatthias Kretz <m.kretz@gsi.de>
Thu, 16 Feb 2023 21:03:54 +0000 (22:03 +0100)
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.

(cherry picked from commit b0f4b166ada3b92da5f2917ac3f4397e99d1b58f)

libstdc++-v3/testsuite/experimental/simd/README.md

index b82453df40370c8dad055cc671a4597daa13072d..ef8b7c33de77d4d4060f7a57ec5723e13759ec12 100644 (file)
@@ -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.