summaryrefslogtreecommitdiff
path: root/gnu/packages/machine-learning.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-01-08 21:15:49 +0000
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:22:18 +0100
commitb0d9ec0e8b0c6e5a30cdf07018ee2c97fe6dbaf7 (patch)
treec5a0b89ef9d3e54e0c75aab684e0bd9c1471f0bf /gnu/packages/machine-learning.scm
parent442937f2f84426246458c829fd1b0f9b20d706d0 (diff)
gnu: openmm: Remove shaky tests.
The package could not finish build in CI because of some not deterministic tests, see: <https://ci.guix.gnu.org/build/16867177/details>. This change removes some of them. * gnu/packages/machine-learning.scm (openmm): [phases]{remove-shaky-tests}: New phase. Change-Id: I508b23db8b6f0d5a567561b190897bc90cb8faf3 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/machine-learning.scm')
-rw-r--r--gnu/packages/machine-learning.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index c807438eba1..60776609eb5 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1091,6 +1091,17 @@ algorithm.")
(("install --root=\\\\\\$ENV\\{DESTDIR\\}/")
(string-append "install --prefix=" #$output
" --root=/ --single-version-externally-managed")))))
+ (add-after 'patch-python-build-system 'remove-shaky-tests
+ (lambda _
+ ;; These tests may unpredictably fail in CI, even passing
+ ;; locally.
+ (for-each delete-file
+ (append '("./serialization/tests/TestSerializeIntegrator.cpp")
+ (find-files "./platforms"
+ (string-append "Test.*"
+ "(BrownianIntegrat|"
+ "LangevinIntegrator)"
+ "\\.cpp$"))))))
(add-after 'install 'install-python
(lambda _
(invoke "make" "PythonInstall"))))))