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
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.
13 # This file was automatically generated using the following command:
14 # $WS_TOOLS/python-integrate-project pytest-benchmark
17 BUILD_STYLE
= pyproject
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= pytest-benchmark
23 COMPONENT_SUMMARY
= A \
`\`pytest\
`\` fixture for benchmarking code. It will group the tests into rounds that are calibrated to the chosen timer.
24 COMPONENT_PROJECT_URL
= https
://github.com
/ionelmc
/pytest-benchmark
25 COMPONENT_ARCHIVE_HASH
= \
26 sha256
:9ea661cdc292e8231f7cd4c10b0319e56a2118e2c09d9f50e1b3d150d2aca105
27 COMPONENT_LICENSE
= BSD-2-Clause
28 COMPONENT_LICENSE_FILE
= LICENSE
30 include $(WS_MAKE_RULES
)/common.mk
32 # We have no pygal packaged yet
33 PYTEST_ADDOPTS
+= --deselect tests
/test_benchmark.py
::test_histogram
34 PYTEST_ADDOPTS
+= --deselect tests
/test_cli.py
::test_compare
35 PYTEST_ADDOPTS
+= --deselect tests
/test_storage.py
::test_rendering
36 PYTEST_ADDOPTS
+= --deselect tests
/test_storage.py
::test_regression_checks
37 PYTEST_ADDOPTS
+= --deselect tests
/test_storage.py
::test_regression_checks_inf
38 PYTEST_ADDOPTS
+= --deselect tests
/test_storage.py
::test_compare_1
39 PYTEST_ADDOPTS
+= --deselect tests
/test_storage.py
::test_compare_2
41 # We have no aspectlib packaged yet
42 PYTEST_ADDOPTS
+= --deselect tests
/test_with_testcase.py
::TerribleTerribleWayToWritePatchTests
::test_foo2
43 PYTEST_ADDOPTS
+= --deselect tests
/test_with_weaver.py
::test_weave_fixture
44 PYTEST_ADDOPTS
+= --deselect tests
/test_with_weaver.py
::test_weave_method
46 # https://github.com/ionelmc/pytest-benchmark/issues/163
47 PYTEST_ADDOPTS
+= --deselect tests
/test_utils.py
::test_parse_elasticsearch_storage
49 # https://github.com/fedora-python/tox-current-env/issues/68
50 PYTEST_ADDOPTS
+= --deselect tests
/test_cli.py
::test_hooks
52 # Drop benchmark reports
53 COMPONENT_TEST_TRANSFORMS
+= "-e '/^-\{1,\} benchmark:/,/^$$/d'"
54 COMPONENT_TEST_TRANSFORMS
+= "-e '/^-\{1,\} cProfile/,/^$$/d'"
56 # Auto-generated dependencies
57 PYTHON_REQUIRED_PACKAGES
+= library
/python
/py-cpuinfo
58 PYTHON_REQUIRED_PACKAGES
+= library
/python
/pytest
59 PYTHON_REQUIRED_PACKAGES
+= library
/python
/setuptools
60 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
61 TEST_REQUIRED_PACKAGES.python
+= library
/python
/elasticsearch
62 TEST_REQUIRED_PACKAGES.python
+= library
/python
/freezegun
63 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pytest-xdist
64 TEST_REQUIRED_PACKAGES.python
+= library
/python
/setuptools