diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-26 15:11:03 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-21 23:42:23 +0000 |
| commit | c0b740c5ba7817b6dd231c1d506d8a91a34d13ea (patch) | |
| tree | e823508635c35e30dbb23c6cf16040c367e7b20d /gnu/packages/high-availability.scm | |
| parent | e4c1411a64f6fec93c23cedc7996d2704ccb31d3 (diff) | |
gnu: nats-server: Fix tests.
* gnu/packages/high-availability.scm (nats-server) [arguments]
<tests-flags>: Port tests options as seen in project's GitHub Actions
workflow.
<test-subdirs>: Likewise.
Change-Id: I989163842c5c2bed672ddc021f0e0c572e352831
Diffstat (limited to 'gnu/packages/high-availability.scm')
| -rw-r--r-- | gnu/packages/high-availability.scm | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm index 677b2b49aee..2799b5097d1 100644 --- a/gnu/packages/high-availability.scm +++ b/gnu/packages/high-availability.scm | |||
| @@ -215,6 +215,21 @@ applications.") | |||
| 215 | (sha256 | 215 | (sha256 |
| 216 | (base32 "0r1d0l3mmb90956wl97vqlb3cdhax7jkqa95hvx9b380g93a08py")))) | 216 | (base32 "0r1d0l3mmb90956wl97vqlb3cdhax7jkqa95hvx9b380g93a08py")))) |
| 217 | (build-system go-build-system) | 217 | (build-system go-build-system) |
| 218 | (arguments | ||
| 219 | (list | ||
| 220 | #:install-source? #f | ||
| 221 | #:import-path "github.com/nats-io/nats-server" | ||
| 222 | ;; The test logic is taken from project's GitHub Actions workflow file | ||
| 223 | ;; <.github/workflows/tests.yaml>. | ||
| 224 | #:test-flags | ||
| 225 | #~(list "-count=1" "-vet=off" "-failfast" | ||
| 226 | "-skip" (string-join | ||
| 227 | (list "TestHTTPHost" | ||
| 228 | "TestSysLogger" | ||
| 229 | "TestLogMaxArchives") | ||
| 230 | "|") ) | ||
| 231 | #:test-subdirs | ||
| 232 | #~(list "conf/..." "internal/..." "logger/..." "test/..."))) | ||
| 218 | (inputs | 233 | (inputs |
| 219 | (list go-github-com-klauspost-compress | 234 | (list go-github-com-klauspost-compress |
| 220 | go-github-com-minio-highwayhash | 235 | go-github-com-minio-highwayhash |
| @@ -226,10 +241,6 @@ applications.") | |||
| 226 | go-golang-org-x-crypto | 241 | go-golang-org-x-crypto |
| 227 | go-golang-org-x-sys | 242 | go-golang-org-x-sys |
| 228 | go-golang-org-x-time)) | 243 | go-golang-org-x-time)) |
| 229 | (arguments | ||
| 230 | (list | ||
| 231 | #:import-path "github.com/nats-io/nats-server" | ||
| 232 | #:install-source? #f)) | ||
| 233 | (home-page "https://github.com/nats-io/nats-server") | 244 | (home-page "https://github.com/nats-io/nats-server") |
| 234 | (synopsis "High performance message broker") | 245 | (synopsis "High performance message broker") |
| 235 | (description | 246 | (description |
