forked from pool/python-websockets
- Do make sure to error out on test failure.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockets?expand=0&rev=10
This commit is contained in:
committed by
Git OBS Bridge
parent
4ac177645d
commit
a72473c5d2
@@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@@ -55,10 +55,8 @@ export CFLAGS="%{optflags}"
|
||||
|
||||
%check
|
||||
# Test execution speed depends on BS load and architecture, relax
|
||||
# With 6.0 release tests got very racy, retest when updating
|
||||
# https://github.com/aaugustin/websockets/issues/415
|
||||
export WEBSOCKETS_TESTS_TIMEOUT_FACTOR=5
|
||||
%python_exec setup.py test || :
|
||||
%python_exec setup.py test
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user