Disable some tests for riscv64
Signed-off-by: Jason Montleon <jmontleo@redhat.com>
This commit is contained in:
parent
a9e42edd0c
commit
be0697f0aa
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
Name: python-%{src_name}
|
Name: python-%{src_name}
|
||||||
Version: 3.2.1
|
Version: 3.2.1
|
||||||
Release: 3%{?dist}
|
Release: 3.0.riscv64%{?dist}
|
||||||
Summary: Psycopg 3 is a modern implementation of a PostgreSQL adapter for Python
|
Summary: Psycopg 3 is a modern implementation of a PostgreSQL adapter for Python
|
||||||
|
|
||||||
License: LGPL-3.0-only
|
License: LGPL-3.0-only
|
||||||
@ -138,7 +138,12 @@ export PGTESTS_LOCALE=C.UTF-8
|
|||||||
export PSYCOPG_TEST_DSN="host=$PGHOST port=$PGPORT dbname=${PGTESTS_DATABASES##*:} sslmode=disable"
|
export PSYCOPG_TEST_DSN="host=$PGHOST port=$PGPORT dbname=${PGTESTS_DATABASES##*:} sslmode=disable"
|
||||||
|
|
||||||
# Remove tests that need to use internet or specific settings
|
# Remove tests that need to use internet or specific settings
|
||||||
|
# Disable test_concurrency.py test_concurrency_async.py test_psycopg_dbapi20.py for riscv64
|
||||||
|
# https://github.com/psycopg/psycopg/issues/883
|
||||||
%pytest tests/ -k "not (\
|
%pytest tests/ -k "not (\
|
||||||
|
test_concurrency.py or \
|
||||||
|
test_concurrency_async.py or \
|
||||||
|
test_psycopg_dbapi20.py or \
|
||||||
test_typing or \
|
test_typing or \
|
||||||
test_module or \
|
test_module or \
|
||||||
test_conninfo_attempts_async or \
|
test_conninfo_attempts_async or \
|
||||||
@ -186,6 +191,9 @@ export PSYCOPG_TEST_DSN="host=$PGHOST port=$PGPORT dbname=${PGTESTS_DATABASES##*
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 30 2024 Jason Montleon <osloup@redhat.com> - 3.2.1-3.0.riscv64
|
||||||
|
- Added specific tests to skip for riscv64
|
||||||
|
|
||||||
* Tue Jul 30 2024 Ondrej Sloup <osloup@redhat.com> - 3.2.1-3
|
* Tue Jul 30 2024 Ondrej Sloup <osloup@redhat.com> - 3.2.1-3
|
||||||
- Added specific tests to skip (test_pipeline) as it fails on s390x (rhbz#2301198)
|
- Added specific tests to skip (test_pipeline) as it fails on s390x (rhbz#2301198)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user