mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: bonnie++: Enable tests.
* gnu/packages/benchmark.scm (bonnie++)[arguments]: Add a custom 'check phase. Enable tests. Change-Id: I38e68e8da5ab2a71ce35e6093f64c9100e8b70ae
This commit is contained in:
@@ -281,8 +281,19 @@ tests.")
|
||||
(list perl))
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #f ; there are no tests
|
||||
#:make-flags #~(list "MORECFLAGS=-std=c++11")))
|
||||
#:make-flags #~(list "MORECFLAGS=-std=c++11")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(begin
|
||||
;; As seen in ./debian/tests/smoke
|
||||
(mkdir "test-dir")
|
||||
(invoke "./bonnie++" "-q"
|
||||
"-d" "test-dir"
|
||||
"-s" "-0"
|
||||
"-n" "1"))))))))
|
||||
(home-page "https://doc.coker.com.au/projects/bonnie/")
|
||||
(synopsis "Hard drive and file system benchmark suite")
|
||||
(description
|
||||
|
||||
Reference in New Issue
Block a user