Commit graph

837 commits

Author SHA1 Message Date
Maxim Cournoyer
8c12bd5be0
gnu: umockdev: Update to 0.19.1.
* gnu/packages/check.scm (umockdev): Update to 0.19.1.

Change-Id: Id8ff7d498eb200de0986513e54791c08d3429c92
2026-01-23 22:54:02 +01:00
Murilo
44895f73e7
gnu: Add unity-test.
* gnu/packages/check.scm (unity-test): New variable.
* gnu/packages/patches/unity-test-set-subdir-correctly.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I2d5c88f20df3902513990a5fcf0cbe88b31e2eee
Modified-by: John Kehayias <john@guixotic.coop>
Signed-off-by: John Kehayias <john@guixotic.coop>
2026-01-14 15:02:04 -05:00
Maxim Cournoyer
8e3c2c662f
gnu: kyua: Update to 0.14.1.
* gnu/packages/check.scm (kyua): Update to 0.14.1.
[#:phases] {prepare-for-tests}: Delete.
{delete-installed-tests}: Likewise.
[native-inputs]: Add libtool.

Change-Id: I653525bbd721f36b7c61ffb1d6791c7d34f46ce0
2025-12-30 10:44:10 +09:00
Sharlatan Hellseher
8f01c85bae
gnu: python-behave-web-api: Move to python-web.
* gnu/packages/check.scm (python-behave-web-api): Move from here ...
* gnu/packages/python-web.scm: ... to here.

Change-Id: Ifbb03dd123413c0f3657f1d5d4edccc9f3075b5d
2025-12-27 14:42:56 +00:00
Sharlatan Hellseher
3ef5dd22dd
gnu: python-behave-web-api: Update to 2.3.0.
* gnu/packages/check.scm (python-behave-web-api): Update to 2.3.0.
[native-inputs]: Remove python-wheel.

Change-Id: Iea27984382d11a1dfa8bf8f5d371e7ea027ced36
2025-12-27 13:53:43 +00:00
Sharlatan Hellseher
6aa2366f0b
gnu: Remove python-nose-timer.
* gnu/packages/check.scm (python-nose-timer): Delete variable.

Closes: guix/guix#4490
Change-Id: Ib7ff7108bab2251217bb52a1132761cc1981bc6d
2025-12-27 13:53:32 +00:00
Sharlatan Hellseher
9bb46e6e02
gnu: python-pytest-dependency: Move to python-check.
* gnu/packages/check.scm (python-pytest-dependency): Move from here ...
* gnu/packages/python-check.scm: ... to here.

Change-Id: I135998cdbb0b321aa3c5e2a552d6374009e60fbe
2025-12-17 11:20:19 +01:00
Sharlatan Hellseher
d2c355ce8d
gnu: python-pytest-dependency: Update to 0.6.0.
* gnu/packages/check.scm (python-pytest-dependency): Update to 0.6.0.
[build-system]: Switch to pyproject-build-system.
[propagated-inputs]: Remove python-pytest.
[native-inputs]: Add python-pytest-bootstrap and python-setuptools.

Change-Id: I1517f7097a14ba09f5ea1bc64b17e4ab223ea1e3
2025-12-17 11:20:19 +01:00
Efraim Flashner
3a068fcbb3
gnu: cppcheck: Fix tests on non-x86 systems.
* gnu/packages/check.scm (cppcheck)[arguments]: Add a phase to adjust
the expected output from some tests to match the adjusted upstream
output.

Change-Id: I4953f79479a2192fa1a428b4e2988729a05be679
2025-12-09 19:46:18 +02:00
Efraim Flashner
c4d76205b6
gnu: cppcheck: Use system tinyxml2.
* gnu/packages/check.scm (cppcheck)[arguments]: Add configure-flag to
not use the bundled tinyxml2.
[inputs]: Add tinyxml2.

Change-Id: Id312cb2cdb9ffcee5234a045fb8315afae7d918b
2025-12-09 19:46:18 +02:00
Giacomo Leidi
c425bac93d
Update Giacomo's email address.
The change was automated via:

git grep -l goodoldpaul@autistici.org |
    xargs sed -i 's/goodoldpaul@autistici.org/therewasa@fishinthecalculator.me/g'

* .mailmap: New entry.

Change-Id: I1629388334695d221647afe6a14faf61af5fe0d6
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
2025-12-03 14:38:09 +09:00
Nicolas Graves
452bd71440
gnu: python-minimock: Update to 1.3.0.
* gnu/packages/check.scm (python-minimock): Update to 1.3.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pynose, python-setuptools.
[home-page]: Refresh it.
[description]: Improve style.

Change-Id: I61fbd1609556b7d24230f1e23be9f63cdd82ead9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-12-01 23:23:51 +00:00
Nicolas Graves
a506477c3d
gnu: cxxtest: Switch to pyproject.
* gnu/packages/check.scm (cxxtest):
[build-system]: Switch to pyproject-build-system.
[arguments]: Improve style.
<#:tests?>: Disable them and add a comment.
[native-inputs]: Add python-setuptools.

Change-Id: I61154ab221d90f0457ee879ed017d092b08bcb12
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-12-01 23:23:51 +00:00
Aaron Covrig
97d9c63265
gnu: googletest: Update to 1.17.0.
* gnu/packages/check.scm (googletest): Update to 1.17.0
(googletest-1.12): Add variable.

* gnu/packages/glib.scm (sdbus-c++)
[native-inputs]: Replace googletest-1.17 with googletest.

* gnu/packages/compression.scm (pzstd)
[native-inputs, inputs]: Replace googletest with googletest-1.8.

* gnu/packages/cpp.scm (c++-gsl),
* gnu/packages/engineering.scm (cura-engine),
* gnu/packages/password-utils.scm (pwsafe)
[native-inputs]: Replace googletest with googletest-1.13.

* gnu/packages/crypto.scm (crc32c),
* gnu/packages/engineering.scm (lib3mf),
* gnu/packages/fontutils.scm (opentype-sanitizer),
* gnu/packages/games.scm (openclonk),
* gnu/packages/gnome.scm (gnome-commander),
* gnu/packages/machine-learning.scm (qnnpack),
* gnu/packages/maths.scm (ruy),
* gnu/packages/serialization.scm (libnop)
[native-inputs]: Replace googletest with googletest-1.12.

* gnu/packages/machine-learning.scm (fann),
* gnu/packages/maths.scm (boolector),
* gnu/packages/parallel.scm (clog),
* gnu/packages/simulation.scm (sumo),
* gnu/packages/telephony.scm (sipp)
[native-inputs]: Replace googletest with googletest-1.8.

* gnu/packages/parallel.scm (cpuinfo)
[inputs]: Replace googletest with googletest-1.13.

* gnu/packages/machine-learning.scm (nnpack, python-pytorch),
* gnu/packages/parallel.scm (pthreadpool)
[inputs]: Replace googletest with googletest-1.12.

* gnu/packages/maths.scm (fp16, fxdiv),
* gnu/packages/serialization.scm (yaml-cpp),
* gnu/packages/web.scm (rapidjson)
[inputs]: Replace googletest with googletest-1.8.

Change-Id: I310fb6785d6e19bb8dbf56c25028587573981a0e
2025-11-28 12:07:09 +00:00
Nilesh Patra
e8938b2759
gnu: checkmake: Fix man page path.
* gnu/packages/check.scm (checkmake)[arguments]<#:phases>{install-man}:
Correct man page name and set its location to be in man1.

Fixes: guix/guix#3903
Change-Id: I640e52e6f11184d38480d1bb458ebecf80212f44
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-11-24 12:08:05 +01:00
Nicolas Graves
6a6e86ab49
gnu: python-pytest-enabler: Remove python-pytest-cov input.
* gnu/packages/check.scm (python-pytest-enabler)
[arguments]<#:test-flags>: Ignore coverage test.
[native-inputs]: Remove python-pytest-cov.

Change-Id: Ib900a05345311529fca5ac6ecc48538d5432b511
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-11-20 01:06:38 +00:00
Sharlatan Hellseher
ab40491388
gnu: python-coverage: Rework skipped tests.
* gnu/packages/check.scm (python-coverage)[arguments] <test-flags>:
Rework ignored test files and deselected tests where some of them are
not present and some just pass fine. Limit the number of threads up 8 to
improve stability in CI.
<phases>: Remove 'patch-pyproject; add 'fix-pytest-config, and
'pre-check.

Change-Id: I1e7693fc04f1e873b0cd9afec112c1ebd26622e3
2025-11-20 01:06:36 +00:00
Nicolas Graves
f803f4ef37
gnu: python-coverage: Update to 7.11.0.
* gnu/packages/check.scm (python-coverage): Update to 7.11.0.
[arguments]<#:test-flags>: Ignore additional failing tests.

Change-Id: I6aa86ed49b9f6d52120d14d5a7ea81222ea3140f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-11-20 01:06:36 +00:00
Greg Hogan
64ac0d2948
gnu: cppcheck: Update to 2.18.0.
* gnu/packages/check.scm (cppcheck): Update to 2.18.0.
[arguments]<#:parallel-tests?>: Disable.

Fixes #4064.

Change-Id: I0ef2b3885ddd438a524e09e57de2a917e86bb37a
2025-11-14 17:45:31 +00:00
Nicolas Graves
94aaf932c3
gnu: behave: Update to 1.3.3.
* gnu/packages/check.scm (behave): Update to 1.3.3.
[native-inputs]: Add python-chardet, python-wheel.
[propagated-inputs]: Add python-cucumber-expressions.

Change-Id: Iefe1df298f9b658f08bf5d5af691236644af10fe
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-24 11:45:34 +01:00
Nicolas Graves
fea6b07191
gnu: behave: Replace python-pathpy by python-path.
* gnu/packages/check.scm (behave)[native-inputs]: Replace
python-pathpy by python-path.

Change-Id: I949a67d7beb9e047719a9e6e0d2b04ec0e67e3ed
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-24 11:45:33 +01:00
David Elsing
ad0c381841
gnu: Add googletest-1.13.
* gnu/packages/check.scm (googletest-1.13): New variable.

Change-Id: Ifafb8b2284e535bf146d2002e2fe38164a2a12a7
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-10-21 22:18:15 +02:00
Martin Schitter
6cd31cbb1f
gnu: python-coverage: Ignore tests_numbits.py
* gnu/packages/check.scm (python-coverage)[arguments] <test-flags>:
Deselect tests that would report errors on slow riscv64 SBCs.

Change-Id: I7437c514fb60965a76fe80b0d8629f9c76a80d15
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-13 12:00:50 +01:00
Nguyễn Gia Phong
1aad6576b3
gnu: python-hypothesis-next: Mark as deprecated.
* gnu/packages/check.scm (python-hypothesis-next):
  Mark as a deprecated public alias.

Change-Id: Ic121d5f9cd965095bce70b2c3d3bef887b8f1f8e
Reviwed-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-30 13:22:59 +01:00
Sharlatan Hellseher
f35a36f906
gnu: python-flexmock: Move to python-check.
* gnu/packages/check.scm (python-flexmock): Move from here ...
* gnu/packages/python-check.scm: ... to here.
* gnu/packages/shellutils.scm: Add python-check module.

Change-Id: I6aebe1eb1f9bdbeb140af4538a9af0becccc6e92
2025-09-27 22:49:59 +01:00
Hugo Buddelmeijer
e976d192a4
gnu: python-flexmock: Fix by using python-poetry-core
* gnu/packages/check.scm (python-flexmock): Fix.
[native-inputs]: Remove poetry; add python-poetry-core.
[homepage]: Switch to https://flexmock.readthedocs.io/ as lint suggested.

Change-Id: I0271a2af4c18c957cad86e26b5d2f833e8184fc1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-27 22:41:38 +01:00
Sharlatan Hellseher
c41b31efdb
gnu: subunit: Adjust style.
* gnu/packages/check.scm (subunit): Fix fill column and indentation.

Change-Id: I597432d65637369d0d7f77c3b59547555b5f259b
2025-09-25 09:36:53 +01:00
Hugo Buddelmeijer
0ba00cccde
gnu: subunit: Update to 1.4.4.
FWIW, I don't know why it is necessary to both have a `subunit`
package as well as a `python-subunit` package. But at least it
builds now.

* gnu/packages/check.scm (subunit): Update to 1.4.4.
[propagated-inputs]: Add python-iso8601 and python-pygobject.

Change-Id: Id37c498a6869b0ce724a854958b25bc298083fae
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-25 09:36:53 +01:00
Sharlatan Hellseher
ad8b5687a3
gnu: python-pylint: Update to 3.3.8.
* gnu/packages/check.scm (python-pylint): Update to 3.3.8.
[propagated-inputs]: Remove python-typing-extensions.
[native-inputs]: Remove python-wheel.

Change-Id: I3b598397599bea700994a0dacfc04d0332930c06
2025-09-25 09:36:41 +01:00
Nicolas Graves
4451ac2f52
gnu: python-pytest-forked: Add python-py propagated-input.
* gnu/packages/check.scm (python-pytest-forked)[propagated-inputs]:
Add python-py.

Change-Id: I9ff007703c4099016eedc276af195e8612fb20fd
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-25 09:36:36 +01:00
Sharlatan Hellseher
89e45153e7
gnu: Remove python-fixtures-bootstrap.
* gnu/packages/check.scm (python-fixtures-bootstrap): Delete variable.

Change-Id: I3a3777206aabcac54f78b1e2565632abb19a6f62
2025-09-25 09:36:32 +01:00
Sharlatan Hellseher
fc95709fbf
gnu: Remove python-subunit-bootstrap.
* gnu/packages/check.scm (python-subunit-bootstrap): Delete variable.

Change-Id: If88a19cc0360c8b8c51d2d2cf8a43d2612cacb6b
2025-09-25 09:36:32 +01:00
Sharlatan Hellseher
6b01cd3e79
gnu: python-subunit: Update to 1.4.4.
* gnu/packages/check.scm (python-subunit): Update to 1.4.4.
Don't inherit from python-subunit as it's no longer required and
migrate missing fields from it.
[build-system]: Switch to pygobject-build-system.
[arguments] <test-backend>: Use custom.
<test-flags>: Provide options to run testtols.
<phases>: Add 'disable-failing-tests, and
'disable-failing-console-scripts.
[propagated-inputs]: Remove python-extras; add python-iso8601 and
python-pygobject.
[native-inputs]: Remove python-hypothesis; add python-setuptools.

Change-Id: I394f8e3c3caf500cc875e8ba480bef108ad558aa
2025-09-25 09:36:32 +01:00
Sharlatan Hellseher
c7d6d65609
gnu: Remove python-testrepository-bootstrap.
* gnu/packages/check.scm (python-testrepository-bootstrap): Delete variable.

Change-Id: I06cbc9c9bed43956c75f9fabfcdf979198f285b7
2025-09-25 09:36:32 +01:00
Sharlatan Hellseher
4935a704df
gnu: python-testrepository: Update to 0.0.21.
* gnu/packages/check.scm (python-testrepository): Update to 0.0.21.
Don't inherit from python-testrepository as it's no longer required and
migrate missing fields from it.
[build-system]: Switch to pyproejct-build-system.
[arguments] <tests?>: All good now.
<phases>: Use custom 'check.
[propagated-inputs]: Remove python-testtools; add python-iso8601.
[native-inputs]: Remove python-mimeparse; add python-hatch-vcs,
python-hatchling, python-pytz, python-setuptools, python-testresources,
and python-testscenarios.

Change-Id: I460e73ceae61d61d0392621d0f5bd89b50238be8
2025-09-25 09:36:32 +01:00
Sharlatan Hellseher
16b558029d
gnu: python-testtools-bootstrap: Simplify.
* gnu/packages/check.scm (python-testtools-bootstrap): Inherit from
python-testtools and make it hidden.

Change-Id: I2575ade5cd4292aff4a6028c9c092437c8a8b396
2025-09-25 09:36:32 +01:00
Sharlatan Hellseher
748f6266a3
gnu: python-testtools: Switch to pyproject.
* gnu/packages/check.scm (python-testtools): Don't inherit from
python-testtools-bootstrap as it's no longer required and migrate
missing fields from it.
[build-system]: Switch to pyproject-build-system.
[arguments] <test-backend>: Use custom.
<test-flags>: Provide options to run testtols.
<phases>: Use default 'check; add 'pre-check.
[propagated-inputs]: Remove python-pbr.
[native-inputs]: Remove python-setuptools.
[licenses]: Fix it according to pyproject.toml and PyPI.

Change-Id: I7c9f5618d90b882141f1880ef7c29996d6a0364b
2025-09-25 09:36:32 +01:00
Sharlatan Hellseher
0c26b52b4c
gnu: python-testscenarios-bootstrap: Simplify.
* gnu/packages/check.scm (python-testscenarios-bootstrap): Inherit from
python-testscenarios and make it hidden.

Change-Id: Ic15bf00f629a3c45dd1aee1e5ea704c2f0bcb03d
2025-09-25 09:36:32 +01:00
Sharlatan Hellseher
43f439a5dd
gnu: python-testscenarios: Switch to pyproject.
* gnu/packages/check.scm (python-testscenarios): Don't inherit from
python-testscenarios-bootstrap as it's no longer required and migrate
missing fields from it.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.

Change-Id: I7bb79f69b806d45896f29c86210096c4fb5bffb7
2025-09-25 09:36:31 +01:00
Sharlatan Hellseher
fbbd2d2f78
gnu: Remove python-testresources-bootstrap.
* gnu/packages/check.scm (python-testresources-bootstrap): Delete variable.

Change-Id: I987d4700b057fdcea164fd3873254d4f2cf21f41
2025-09-25 09:36:31 +01:00
Sharlatan Hellseher
6c870fec92
gnu: python-testresources: Update to 2.0.2.
* gnu/packages/check.scm (python-testresources): Update to 2.0.2. Don't
inherit from python-testresources-bootstrap as it's no longer required
and migrate missing fields from it.
[build-system]: Switch to pyproject-build-system.
[arguments] <test-backend>: Use custom.
<test-flags>: Provide options to run tests with testtools.
[native-inputs]: Add python-setuptools.
[home-page]: Fix it, taken from PyPI <https://pypi.org/project/testresources/>

Change-Id: I0e5dabcf2803c375f493d736c4b78f5c038023e8
2025-09-25 09:36:31 +01:00
Sharlatan Hellseher
b352ce65c3
gnu: python-fixtures: Update to 4.2.6.
* gnu/packages/check.scm (python-fixtures): Update to 4.2.6. Don't
inherit from python-fixtures-bootstrap as it's no longer required and
migrate missing fields from it.
[build-system]: Switch to pyproject-build-system.
[arguments] <phases>: Use default 'check.
[propagated-inputs]: Remove python-pbr, python-six, and python-extras.
[native-inputs]: Remove python-mock; add python-hatch-vcs and
python-hatchling.

Change-Id: I46eb61748ee345cd5e51056070d2210f2d787bb8
2025-09-25 09:36:31 +01:00
Sharlatan Hellseher
227a0e669a
gnu: Remove python-unittest2.
This package is no longer needed as per: "unittest2 is a backport of the
new features added to the unittest testing framework in Python 2.7 and
onwards.", it has no users in Guix.

* gnu/packages/check.scm (python-unittest2): Delete variable.

* gnu/local.mk (dist_patch_DATA): Deregister 2 patches.
* gnu/packages/patches/python-unittest2-python3-compat.patch: Delete file.
* gnu/packages/patches/python-unittest2-remove-argparse.patch: Likewise.

Change-Id: I7d67223cdd5a0e656a299d83ac28248d7db7c321
2025-09-25 09:36:30 +01:00
Sharlatan Hellseher
b26acf50bf
gnu: Remove python-pytest-cache.
* gnu/packages/check.scm (python-pytest-cache): Delete variable.

Change-Id: I37a4cc3a58ac32b9f9c83706be7632bc6e64f58d
2025-09-25 09:36:29 +01:00
Sharlatan Hellseher
f112a36c9c
gnu: Remove python-nosexcover.
It was a fork of "nose.plugins.cover" which is not maintained since 2018
and not in use by any packages in Guix.

* gnu/packages/check.scm (python-nosexcover): Delete variable.

Change-Id: I2e08f1d02df5e34cd0ab85d59cf4ce9fa365f901
2025-09-25 09:36:29 +01:00
Sharlatan Hellseher
bc2e049af1
gnu: Remove python-nose-exclude.
* gnu/packages/check.scm (python-nose-exclude): Delete variable.

Change-Id: I9dc5bfff16ba1014b9364e0e27c0b51096b2c774
2025-09-25 09:36:29 +01:00
Sharlatan Hellseher
a41b81d5dc
gnu: Remove python-gixy-ng.
* gnu/packages/check.scm (python-gixy-ng): Delete variable.

Change-Id: Ic90fe0cdb037cdef9f79ae399b2d179e84db4abd
2025-09-25 09:36:27 +01:00
Sharlatan Hellseher
69c80fdd0b
gnu: Remove cmdtest.
Not maintained, no users in Guix.

* gnu/packages/check.scm (cmdtest): Delete variable.

Change-Id: I254ff98633cf33f2c088ed8d82c7cb9dafc105f3
2025-09-25 09:36:26 +01:00
Sharlatan Hellseher
b8ea94c889
gnu: python-hypothesis-next: Set to python-hypothesis.
* gnu/packages/check.scm (python-hypothesis-next): Set to
  python-hypothesis.

Change-Id: Ia5d79b545d6da266db7a14d0b602e02196a6bd3e
2025-09-25 09:36:24 +01:00
Sharlatan Hellseher
7ef8d80092
gnu: python-pytest-mypy: Update to 1.0.1.
* gnu/packages/check.scm (python-pytest-mypy): Update to 1.0.1.
  [arguments] <test-flags>: Respect parallel jobs count; deselect one
  failing test.
  [propagated-inputs]: Remove python-attrs.
  [native-inputs]: Remove python-pexpect and python-wheel.

Change-Id: Ief9fdc73a02bbd062a3221fe87d3bb1d0f019301
2025-09-25 09:36:14 +01:00