Marcel Telka
2024-04-03 048a7222084696961865dab2f327aac36d8619ba
commit | author | age
fdaa00 1 #
MT 2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
6 #
7 # A full copy of the text of the CDDL should have accompanied this
8 # source.  A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
10 #
11
12 #
13 # Copyright 2023 Marcel Telka
14 #
15
16 %patch% 01-dev_requirements.patch
17 %patch% 02-cerificates.patch
18 %patch% 03-pytest.ini.patch
19 %patch% 04-not-required.patch
20
21 %include-3%
22 # This project does not support tox so we need to provide test requirements
23 # manually.
24 TEST_REQUIREMENTS += dev_requirements.txt
25
26 # To test we need database/redis installed and the
27 # svc:/application/database/redis:default service must be online
28 TEST_REQUIRED_PACKAGES += database/redis
29
30 # We do not run following sets of tests:
31 # - module tests since we do not have any Redis modules
32 # - cluster tests since we do not run Redis in cluster
33 # - ssl tests since our Redis is not built with TLS support
34 # - replica tests since we do not have replica Redis
35 PYTEST_ADDOPTS += -m "not redismod and not onlycluster and not ssl and not replica"
36 # We have no RedisBloom support
37 PYTEST_ADDOPTS += --ignore tests/test_bloom.py
a71f16 38 PYTEST_ADDOPTS += --ignore tests/test_asyncio/test_bloom.py
fdaa00 39 # We have no RedisGraph support
MT 40 PYTEST_ADDOPTS += --ignore tests/test_graph.py
a71f16 41 PYTEST_ADDOPTS += --ignore tests/test_asyncio/test_graph.py
fdaa00 42 # We have no JSON support for Redis
MT 43 PYTEST_ADDOPTS += --ignore tests/test_json.py
a71f16 44 PYTEST_ADDOPTS += --ignore tests/test_asyncio/test_json.py
fdaa00 45 # We have no RedisTimeSeries support
MT 46 PYTEST_ADDOPTS += --ignore tests/test_timeseries.py
a71f16 47 PYTEST_ADDOPTS += --ignore tests/test_asyncio/test_timeseries.py