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
This commit is contained in:
Sharlatan Hellseher 2026-01-08 21:15:49 +00:00 committed by Andreas Enge
parent e0f28a000f
commit 09ce0dde5b
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -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"))))))