mirror of https://github.com/kivy/kivy.git
🔨 Revert back to previosu metho
This commit is contained in:
parent
62eb14924c
commit
274635531a
10
Makefile
10
Makefile
|
@ -105,17 +105,17 @@ image-testsuite:
|
|||
test:
|
||||
# Run tests and print output.
|
||||
-rm -rf kivy/tests/build
|
||||
env KIVY_NO_ARGS=1 $(PYTEST) --cov-report term-missing --cov=kivy kivy/tests
|
||||
env KIVY_NO_ARGS=1 $(PYTEST) kivy/tests
|
||||
|
||||
test-to-txt:
|
||||
# Run tests and save output to 'coverage.txt'.
|
||||
# Run tests with missing line stats and save output to 'coverage.txt'.
|
||||
-rm -rf kivy/tests/build
|
||||
env KIVY_NO_ARGS=1 $(PYTEST) kivy/tests > coverage.txt
|
||||
env KIVY_NO_ARGS=1 $(PYTEST) --cov-report term-missing --cov=kivy kivy/tests > coverage.txt
|
||||
|
||||
test-to-xml:
|
||||
# Run tests and save output to 'coverage.xml'.
|
||||
# Run tests with missing line stats and save output to 'coverage.xml'.
|
||||
-rm -rf kivy/tests/build
|
||||
env KIVY_NO_ARGS=1 $(PYTEST) --cov-report xml kivy/tests
|
||||
env KIVY_NO_ARGS=1 $(PYTEST) --cov-report xml --cov-report term-missing --cov=kivy kivy/tests
|
||||
|
||||
cover:
|
||||
# Note: This option does not currently support the missing lines analysis.
|
||||
|
|
|
@ -11,4 +11,4 @@ requires = [
|
|||
]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "--benchmark-skip --benchmark-warmup=on --benchmark-warmup-iterations=5 --benchmark-disable-gc --benchmark-name=short --benchmark-sort=mean --benchmark-group-by=fullfunc --benchmark-storage=.benchmarks-kivy --benchmark-save=kivy --cov-report term-missing --cov=kivy"
|
||||
addopts = "--benchmark-skip --benchmark-warmup=on --benchmark-warmup-iterations=5 --benchmark-disable-gc --benchmark-name=short --benchmark-sort=mean --benchmark-group-by=fullfunc --benchmark-storage=.benchmarks-kivy --benchmark-save=kivy"
|
||||
|
|
Loading…
Reference in New Issue