mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: crawl: Honor the #:tests? flag.
* gnu/packages/games.scm (crawl)[arguments]<#:phases>: Honor the #:tests? flag in custom check phase.
This commit is contained in:
parent
1e16af13b0
commit
6199ee19ff
1 changed files with 10 additions and 9 deletions
|
@ -6568,7 +6568,8 @@ (define-public crawl
|
|||
(("SDL_image.h") "SDL2/SDL_image.h"))))
|
||||
(delete 'configure)
|
||||
(replace 'check
|
||||
(lambda* (#:key make-flags #:allow-other-keys)
|
||||
(lambda* (#:key tests? make-flags #:allow-other-keys)
|
||||
(when tests?
|
||||
(setenv "HOME" (getcwd))
|
||||
;; Fake a terminal for the test cases.
|
||||
(setenv "TERM" "xterm-256color")
|
||||
|
@ -6576,7 +6577,7 @@ (define-public crawl
|
|||
(apply invoke "make" "nondebugtest"
|
||||
(format #f "-j~d" (parallel-job-count))
|
||||
;; Force command line build for test cases.
|
||||
(append make-flags '("GAME=crawl" "TILES="))))))))
|
||||
(append make-flags '("GAME=crawl" "TILES=")))))))))
|
||||
(synopsis "Roguelike dungeon crawler game")
|
||||
(description "Dungeon Crawl Stone Soup (also known as \"Crawl\" or DCSS
|
||||
for short) is a roguelike adventure through dungeons filled with dangerous
|
||||
|
|
Loading…
Reference in a new issue