mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: glslang: Give more information on test failures.
* gnu/packages/vulkan.scm (glslang)[arguments]: Adjust the 'check phase to run the tests in parallel, rerun tests which fail and to provide information when a test fails. Change-Id: I13962bb503a20338901cdd878d356e1bcce7f2eb
This commit is contained in:
parent
1fed3f9877
commit
1e58b81da9
1 changed files with 7 additions and 2 deletions
|
@ -207,9 +207,14 @@ (define-public glslang
|
|||
'()))
|
||||
#:phases (modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(lambda* (#:key tests? parallel-tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "ctest")))))))
|
||||
(invoke "ctest"
|
||||
"-j" (if parallel-tests?
|
||||
(number->string (parallel-job-count))
|
||||
"1")
|
||||
"--rerun-failed"
|
||||
"--output-on-failure")))))))
|
||||
(inputs (list spirv-tools))
|
||||
(native-inputs
|
||||
(list pkg-config python))
|
||||
|
|
Loading…
Reference in a new issue