mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: cmake-build: Retry failed tests.
* guix/build-system/cmake.scm (cmake-build, cmake-cross-build), * guix/build-system/qt.scm (qt-build, qt-cross-build): Add test-repeat-until-pass? and test-repeat-until-pass-count fields. * guix/build/cmake-build-system.scm (check): Add and use new fields. * doc/guix.texi: Document new parameters. Change-Id: I046dfc86a18fb2a2be4ae362c1226c2f8cab129c
This commit is contained in:
parent
8b53cfe1c1
commit
f361e7fa4a
4 changed files with 34 additions and 1 deletions
|
@ -9728,6 +9728,16 @@ responsible for writing the input files for the native build system.
|
|||
@item #:test-exclude
|
||||
Tests matching this regular expression are excluded from testing by
|
||||
@url{https://cmake.org/cmake/help/latest/manual/ctest.1.html, ctest}.
|
||||
|
||||
@item #:test-repeat-until-pass?
|
||||
Directs @url{https://cmake.org/cmake/help/latest/manual/ctest.1.html, ctest} to
|
||||
@url{https://cmake.org/cmake/help/latest/manual/ctest.1.html#cmdoption-ctest-repeat, repeat}
|
||||
failed tests up to @code{#:test-repeat-until-pass-count} times and is enabled by
|
||||
default.
|
||||
|
||||
@item #:test-repeat-until-pass-count
|
||||
When @code{#:test-repeat-until-pass?} is enabled this parameter sets the maximum
|
||||
number of failures for each test. The default is @code{5}.
|
||||
@end table
|
||||
@end defvar
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue