gnu: python-websockets: Fix test suite on riscv64-linux.

* gnu/packages/python-web.scm (python-websockets)[arguments]: When
building for riscv64-linux use an even longer test timeout.

Change-Id: I83390a5e5e8d9e1ab6514841feca8e5066d6c80d
This commit is contained in:
Efraim Flashner 2025-03-03 08:06:59 +02:00
parent c991c49f09
commit feba33d2c1
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -7974,7 +7974,11 @@ files.")
#~(modify-phases %standard-phases
(add-before 'check 'extend-test-timeout
(lambda _
(setenv "WEBSOCKETS_TESTS_TIMEOUT_FACTOR" "10"))))))
;; Some architectures need an even longer timeout. Make it
;; long enough that it should never fail due to timeout.
#$@(if (target-riscv64?)
#~((setenv "WEBSOCKETS_TESTS_TIMEOUT_FACTOR" "100"))
#~((setenv "WEBSOCKETS_TESTS_TIMEOUT_FACTOR" "10"))))))))
(native-inputs
(list python-setuptools
python-wheel))