Commit graph

651 commits

Author SHA1 Message Date
Liliana Marie Prikler
93ceb2d901
gnu: rapidcheck: Fix pkg-config libs.
Using rapidcheck as a dependency in a project currently results in a linker
error, because the pkg-config file is missing relevant linker flags.

* gnu/packages/patches/rapidcheck-fix-libs.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.
* gnu/packages/check.scm (rapidcheck)[patches]: Use it here.
2024-09-29 11:10:30 +02:00
Sharlatan Hellseher
759b74b852
gnu: actionlint: Update to 1.7.2.
* gnu/packages/check.scm (actionlint): Update to 1.7.2.
[arguments]: <#:build-flags>: Add version to "-ldflags".

Change-Id: I2cc668556286b24ae231e3fe4bad468c1d8e8544
2024-09-23 22:17:05 +01:00
Sharlatan Hellseher
43e0baa5db
gnu: actionlint: Improve package style.
* gnu/packages/check.scm (actionlint): Adjust indentation.
[arguments]: Use list style.
[native-inputs]: Merge with [inputs] as for Golang they are only
required during build time for the final command.

Change-Id: I754c1631be653304c8ebac8263745b77df6ad890
2024-09-23 21:58:07 +01:00
gemmaro
d3a25d8608
gnu: Add toml-test.
* gnu/packages/check.scm (toml-test): New variable.

Change-Id: I287cc46f371597e8557cb4eb255391d2c6766ddf
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-09-23 21:52:17 +01:00
Tobias Geerinckx-Rice
8f6a5af3d7
gnu: actionlint: Update to 1.7.1.
* gnu/packages/check.scm (actionlint): Update to 1.7.1.

Change-Id: I288c5e1793691b070d2acfbcf556dd9e4c104c04
2024-09-08 02:00:00 +02:00
David Elsing
8f6919f252
gnu: Add python-parameterized-next.
* gnu/packages/check.scm (python-parameterized-next): New variable.
2024-09-06 11:46:24 +02:00
Efraim Flashner
a69b63cc73
gnu: python-lit: Update to 18.1.8.
* gnu/packages/check.scm (python-lit): Update to 18.1.8.

Change-Id: I7f77079c83c0caa42b3ddfc8e1f12373c13aaca6
2024-08-31 10:45:42 +02:00
Efraim Flashner
d10ab3d397
gnu: mesa: Fix building on aarch64-linux.
* gnu/packages/gl.scm (mesa)[inputs]: When building for aarch64-linux
use clang-18 and llvm-18 instead of llvm-for-mesa.
[native-inputs]: When building for aarch64-linux add libclc.
[arguments]: Adjust the 'disable-failing-test phase when building for
aarch64-linux to skip a test.
(mesa-opencl)[native-inputs]: When building for aarch64-linux don't add
clang-15.
* gnu/packages/check.scm (python-lit),
* gnu/packages/llvm.scm (libclc),
* gnu/packages/vulkan.scm (spirv-llvm-translator): Add a note about it
being a dependency for mesa.

Change-Id: I0bf5ab019ffd0626ad2d0c38bafceec401e3c886
2024-08-31 10:45:42 +02:00
Ludovic Courtès
43e6dc3cda
gnu: libfaketime: Support compilation with glibc 2.39 on i686-linux.
* gnu/packages/check.scm (libfaketime)[arguments]: Add
‘switch-libc-call’ phase when not ‘target-64bit?’.
In ‘pre-check’ phase, delete ‘test_exclude_mono.sh’ on 32-bit platforms.

Change-Id: Ia4c0d1d13cdfa6028f3e11c63e76122a99a84e4d
2024-08-31 10:45:41 +02:00
宋文武
aa8ef46414
gnu: guile-proba: Fix build.
* gnu/packages/check.scm (guile-proba)[arguments]: Don't refer to nonexistent
'install' phase.

Change-Id: I2ef650c15f3f0d2640e746771667b20cfecb87ae
2024-08-31 10:45:10 +02:00
Nicolas Goaziou
9a2dca2e97
gnu: unittest-cpp: Fix "Version" setting in ".pc" file.
* gnu/packages/check.scm (unittest-cpp)[arguments]<#:configure-flags>: Add
Provide a "Version" value in ".pc" file for pkg-config checks.

Change-Id: I934ef3d83d50876be8ab157ba52d8812ed33ba2e
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:45:00 +02:00
Maxim Cournoyer
44fe64fe5f
gnu: Add kyua.
* gnu/packages/check.scm (kyua): New variable.

Change-Id: Ic3a74a27c05b099bef6acfb4e0c96d2ee3defc31
2024-08-31 10:44:57 +02:00
Maxim Cournoyer
86d5774605
gnu: Add atf.
* gnu/packages/check.scm (atf): New variable.
* gnu/packages/patches/atf-execute-with-shell.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I37a57069380309382bc0ff24977a1fd165985f5e
2024-08-31 10:44:56 +02:00
Ludovic Courtès
edab591daa
gnu: checkmake: Fix typo.
Fixes a regression introduced in
7a149c6003.

* gnu/packages/check.scm (checkmake)[arguments]: Fix typo
for #:install-source?.

Change-Id: Iaec646632fb342a50d93ab0b1a09f073e06d59b7
2024-08-21 18:54:45 +02:00
gemmaro
7a149c6003
gnu: Add checkmake.
* gnu/packages/check.scm (checkmake): New variable.

Change-Id: Ic60c5c6d6cb66ff3a5760e11df741c5a4d7e7a4d
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-08-21 14:46:38 +01:00
Sharlatan Hellseher
d7d779a3ef
Merge remote-tracking branch 'origin/go-team'
Change-Id: Ib66e48c4cb84e9e97ebcec334ab0b9f3dbfb1457
2024-08-08 13:05:56 +01:00
Sharlatan Hellseher
b5c33f99e3
gnu: Add python-pytest-8.
* gnu/packages/check.scm (python-pytest-8): New variable.

Change-Id: Ie584a48a2749cc7b196e373fe4e6e08f47165620
2024-07-30 10:30:45 +01:00
Sören Tempel
46a64c7fdd
gnu: klee-uclibc: Only build on x86_64 Linux.
* gnu/packages/check.scm (klee-uclibc): Add supported-systems.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-27 17:53:02 +02:00
Sören Tempel
ed726598fc
gnu: klee: Only build on x86_64 Linux.
* gnu/packages/check.scm (klee): Add supported-systems.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-27 17:53:02 +02:00
Sören Tempel
842517477b
gnu: klee: Only strip bin directory.
This avoid several warnings to be emitted by strip(1) when attempting
to strip .bca (i.e. LLVM bitcode) files shipped in /lib/klee/runtime/.

* gnu/packages/check.scm (klee): Set #:strip-directories.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-27 17:53:02 +02:00
Sören Tempel
187b6df6f1
gnu: klee: Enable the test suite.
* gnu/packages/check.scm (klee): Enable all tests.
[arguments]: Patch lit configuration and set #:test-target.
<#:configure-flags?>: Enable system and unit tests, configure gtest.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-27 17:53:02 +02:00
Sören Tempel
661d5eeb8e
gnu: klee: Wrap klee-stats for Python dependencies.
* gnu/packages/check.scm (klee): Wrap klee-stats.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-27 17:53:01 +02:00
Sharlatan Hellseher
058e0cc75a
gnu: go-github-com-google-go-cmp-cmp: Rename variable.
* gnu/packages/golang.scm (go-github-com-google-go-cmp-cmp): Rename
variable to go-github-com-google-go-cmp, which reflects go.mod import
path and improves importer performance.

(go-github-com-zclconf-go-cty, go-golang-org-x-vuln,
go-google-golang-org-protobuf, go-gotest-tools-assert,
go-gotest-tools-internal-source, go-gotest-tools-internal-format,
gofumpt, gopls, gotestsum): Swap go-github-com-google-go-cmp-cmp to
go-github-com-google-go-cmp in inputs, propagated-inputs or
native-inputs.

* gnu/packages/golang-check.scm (go-github-com-frankban-quicktest,
go-github-com-google-go-cmdtest): Likewise.

* gnu/packages/golang-web.scm (go-github-com-aws-aws-sdk-go-v2,
go-github-com-aws-aws-sdk-go-v2-config, go-github-com-aws-smithy-go,
go-github-com-go-jose-go-jose-v3,
go-github-com-makeworld-the-better-one-go-gemini,
go-golang-org-x-oauth2, go-gopkg-in-square-go-jose-v2): Likewise.

* gnu/packages/golang-xyz.scm (go-github-com-goccy-go-yaml): Likewise.

* gnu/packages/check.scm (actionlint): Likewise.
* gnu/packages/databases.scm (sqls): Likewise.
* gnu/packages/ipfs.scm (go-github-com-ipld-go-ipld-prime,
go-github-com-whyrusleeping-cbor-gen): Likewise.
* gnu/packages/web.scm (go-github-com-itchyny-gojq): Likewise.

Change-Id: Ie6eeba936f7da404d70fbbaad34f5b43aec4e05b
2024-07-25 21:00:58 +01:00
Roman Scherer
aeef827d2d
gnu: rapidcheck: Disable failing tests on aarch64.
* gnu/packages/check.scm (rapidcheck): Disable failing tests on aarch64.

Change-Id: I9b4e7be2acad615cc1586adb37cc39b43590b2d8
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-21 09:42:14 +02:00
Sören Tempel
087bd6916d
gnu: klee: Build with klee-uclibc support.
* gnu/packages/check.scm (klee): Use klee-uclibc.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-13 08:10:03 +02:00
Sören Tempel
3bdaa223b3
gnu: Add klee-uclibc.
* gnu/packages/check.scm (klee-uclibc): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-13 08:10:03 +02:00
Liliana Marie Prikler
8b6316f94b
gnu: rapidcheck: Update to 0.0.0-1.ff6af6f.
* gnu/packages/check.scm (rapidcheck): Update to 0.0.0-1.ff6af6f.
[source]: Add snippet to find inputs.
[arguments]: Remove #:phases and #:tests?.
<#:configure-flags?>: Add “-DRC_ENABLE_BOOST=on”, “-DRC_ENABLE_CATCH=on”,
“-DRC_ENABLE_DOCTEST=on”, “-DRC_ENABLE_GTEST=on”, and “-DRC_ENABLE_TESTS=on”.
[inputs]: Add boost, catch2, doctest and googletest.
[native-inputs]: Add catch2 and googletest.
2024-07-13 08:10:02 +02:00
Sharlatan Hellseher
afbc1cc8b3
gnu: Remove go-golang.org-x-sync-semaphore.
* gnu/packages/golang-build.scm (go-golang.org-x-sync-semaphore): Delete variable.
* gnu/packages/check.scm (actionlint): Adjust inputs.
[inputs]: Remove go-golang.org-x-sync-semaphore.
* gnu/packages/version-control.scm (git-lfs): Likewise.
[propagated-inputs]: Remove go-golang.org-x-sync-semaphore; add go-golang-org-x-sync.

Change-Id: Icf3edfc46696c8b9af79787ff77f7e65852bfef4
2024-06-29 09:37:40 +01:00
Sharlatan Hellseher
9708590d20
gnu: Remove go-golang.org-x-sync-errgroup.
* gnu/packages/golang-build.scm (go-golang.org-x-sync-errgroup): Delete variable.
* gnu/packages/check.scm (actionlint): Adjust inputs.
[inputs]: Remove go-golang.org-x-sync-errgroup; add go-golang-org-x-sync.
* gnu/packages/golang.scm (gotestsum): Likewise.
[native-inputs]: Remove go-golang.org-x-sync-errgroup; add go-golang-org-x-sync.
* gnu/packages/golang.scm (go-github-com-prometheus-procfs): Likewise.
[propagated-inputs]: Remove go-golang.org-x-sync-errgroup; add go-golang-org-x-sync.
* gnu/packages/terminals.scm (go-github-com-junegunn-fzf): Likewise.
[inputs]: Remove go-golang.org-x-sync-errgroup; add go-golang-org-x-sync.
* gnu/packages/version-control.scm (ghq): Likewise.
[inputs]: Remove go-golang.org-x-sync-errgroup; add go-golang-org-x-sync.

Change-Id: If64c30da47ed9cd043798f427f2927b76394f3c4
2024-06-29 09:37:40 +01:00
Liliana Marie Prikler
fe7c898750
gnu: Add klee.
* gnu/packages/check.scm (klee): New variable.
2024-06-23 10:09:00 +02:00
Nicolas Graves
2b5cb248d3
gnu: Add python-pytest-next.
* gnu/packages/check.scm (python-pytest-next): New variable.
2024-04-22 11:29:30 +02:00
Nicolas Graves
118b2f79f8
gnu: python-pytest-xdist: Use pyproject-build-system.
* gnu/packages/check.scm (python-pytest-xdist): Use pyproject-build-system.
2024-04-22 11:29:30 +02:00
Sharlatan Hellseher
5abebf71e9
gnu: go-github-com-mattn-go-runewidth: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-mattn-go-runewidth): Move from
here ...
* gnu/packages/golang-xyz.scm: ... to here.

* gnu/packages/check.scm: Add (gnu packages golang-xyz) module.
* gnu/packages/disk.scm: Likewise.
* gnu/packages/messaging.scm: Likewise.
* gnu/packages/time.scm: Likewise.
* gnu/packages/weather.scm: Likewise.

Change-Id: I80f8b4c31c0fd8fee7c190a7740513ee139646d4
2024-04-06 13:14:43 +01:00
Sharlatan Hellseher
90b636e4b3
gnu: Add python-pytest-examples.
* gnu/packages/check.scm (python-pytest-examples): New variable.

Change-Id: I8199a7d7294c3b04134474f9f116468ac327cba8
2024-03-29 15:08:11 +00:00
Sharlatan Hellseher
36ce356616
gnu: Add python-nose-exclude.
* gnu/packages/check.scm (python-nose-exclude): New variable.

Change-Id: I5c91b682163890c822f7d4a548e92fdd287d78a2
2024-03-29 15:08:11 +00:00
nafkhamdc
64db5d6de3
gnu: Add python-pytest-relaxed.
* gnu/packages/check.scm (python-pytest-relaxed): New variable.

Change-Id: I9c506fe6a6586c87d72775a0567fd3c45ba03568
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2024-03-27 15:06:54 +01:00
Efraim Flashner
bcf3f55be9
gnu: check-0.14: Fix build on powerpc-linux.
* gnu/packages/check.scm (check-0.14)[source]: Include patch from check.

Change-Id: I490b3d4cbe09381d091a398614d6b55687ac758f
2024-03-10 12:50:13 +02:00
Zheng Junjie
584e240842
gnu: catch2-3: Update to 3.5.3.
* gnu/packages/check.scm (catch2-3): Update to 3.5.3.
[arguments]: Remove -DCMAKE_CXX_FLAGS from configure-flags.

Change-Id: Ib9e88dd6071d14ef70177fa83964a5d92b916ac0
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2024-03-09 11:30:23 +08:00
Liliana Marie Prikler
4a0549be52
gnu: Add theft.
* gnu/packages/check.scm (theft): New variable.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-03-02 08:00:15 +01:00
Liliana Marie Prikler
0b969af153
gnu: Add greatest.
* gnu/packages/check.scm (greatest): New variable.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-03-02 08:00:15 +01:00
Greg Hogan
3f0efd6a58
gnu: googlebenchmark: Update to 1.8.3.
* gnu/packages/check.scm (googlebenchmark): Update to 1.8.3.

Change-Id: I7fb761304e180f5b1cd5031a970909fba2dca1d7
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-02-27 11:51:07 +01:00
Giacomo Leidi
c2f5d0f7d8
gnu: Add python-pytest-tornado5.
* gnu/packages/check.scm (python-pytest-tornado5): New variable.

Change-Id: I9843e91d750bf17128eb6f566b8dbb5cbc0d8278
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-02-17 21:13:01 +00:00
Sharlatan Hellseher
2175660d92
gnu: go-golang.org-x-sync-errgroup: Move to golang-build.
* gnu/packages/golang.scm (go-golang.org-x-sync-errgroup,
go-golang.org-x-sync-semaphore): Move from here ...
* gnu/packages/golang-build.scm: ... to here.

* gnu/packages/check.scm: Add (gnu packages golang-build) module.

Change-Id: Ie886c0f44e0a70629e23371b447f5a35006ade21
2024-02-13 14:33:15 +00:00
Sharlatan Hellseher
232ed89d43
gnu: go-github.com-smartystreets-goconvey: Move to (gnu packages golang-check).
* gnu/packages/check.scm (go-github.com-smartystreets-goconvey): Move
from here ...
* gnu/packages/golang-check.scm: ... to here.

Change-Id: I19d8db6e3b07e1d165396c0498e328b70b2cc760
2024-01-28 23:21:06 +00:00
Sharlatan Hellseher
8882af2572
gnu: go-github.com-smartystreets-assertions: Move to (gnu packages golang-check).
* gnu/packages/check.scm (go-github.com-smartystreets-assertions): Move
from here ...
* gnu/packages/golang-check.scm: ... to here.

Change-Id: Ia90bbe984fe19dd48d9df91364a7ecf2bf8bd37f
2024-01-28 23:21:06 +00:00
Sharlatan Hellseher
88fea61aae
gnu: go-github.com-smartystreets-gunit: Move to (gnu packages golang-check).
* gnu/packages/check.scm (go-github.com-smartystreets-gunit): Move from
here ...
* gnu/packages/golang-check.scm: ... to here.

Change-Id: I7204e118f99064027f0e10838d2b44fee212d21d
2024-01-28 23:21:06 +00:00
Ricardo Wurmus
561d429aa4
gnu: python-nose2: Update to 0.14.0.
* gnu/packages/check.scm (python-nose2): Update to 0.14.0.
[native-inputs]: Remove python-coverage.
[propagated-inputs]: Remove python-six.

Change-Id: I15a30723fe49cca9929524e543d12c9e2f4b02ca
2024-01-23 13:36:47 +01:00
Ricardo Wurmus
6a2f1863e7
gnu: Add python-pytest-nunit.
* gnu/packages/check.scm (python-pytest-nunit): New variable.

Change-Id: Ic67c973460f09b15bf683f70040a3f5e4381108d
2024-01-16 12:44:35 +01:00
John Kehayias
18393fcddd
gnu: check2: Fix tests on i686-linux.
Reported upstream to <https://github.com/catchorg/Catch2/issues/2796>.  It is
expected that SSE2 is enabled for i686 builds or tests fail.

* gnu/packages/check.scm (check2)[arguments]: Enable SSE2 for x86_64-linux and
i686-linux in configure-flags.

Co-authored-by: Richard Sent <richard@freakingpenguin.com>
Co-authored-by: Jo Gay <@jane.lx.gay>
Change-Id: I99205f92b66ab3d10affbfb58918f37069ba82ec
2024-01-13 17:29:46 -05:00
Maxim Cournoyer
45d07a0b01
gnu: catch2-3: Update to 3.5.1.
* gnu/packages/check.scm (catch2-3.3): Rename to...
(catch2-3): ... this.  Update to 3.5.1.
* gnu/packages/logging.scm (spdlog) [native-inputs]: Rename catch2-3.3 to
catch2-3.
* gnu/packages/potassco.scm (clingo) [inputs]: Likewise.

Change-Id: Ied7724597ff4c6371dc4fedc10452ae870d23933
2024-01-09 22:10:10 -05:00