diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2026-03-23 11:13:38 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2026-03-23 13:58:43 +0200 |
| commit | 554d4a0850769c0cee166b59a5704dd27b8cf570 (patch) | |
| tree | 87cd977458b3cbea292075dc5df311bd84f7e724 /gnu/packages/benchmark.scm | |
| parent | 0398efc96f71c571bd37bea25f58ecb59709d1e5 (diff) | |
gnu: bonnie++: Enable tests.
* gnu/packages/benchmark.scm (bonnie++)[arguments]: Add a custom 'check
phase. Enable tests.
Change-Id: I38e68e8da5ab2a71ce35e6093f64c9100e8b70ae
Diffstat (limited to 'gnu/packages/benchmark.scm')
| -rw-r--r-- | gnu/packages/benchmark.scm | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm index be295b0a9a1..4c5913c7076 100644 --- a/gnu/packages/benchmark.scm +++ b/gnu/packages/benchmark.scm @@ -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 |
