Skip to content

Commit

Permalink
Don't collect coverage for the test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Jul 26, 2024
1 parent e32d9a5 commit 5590afb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions c/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ help:

test_%: dependencies
cd ../python; $(MAKE) dependencies $(MFLAGS)
$(PY) -m pytest -vl -n$* test_euler.py --cov
$(PY) -m pytest -vl -n$* test_euler.py

test: dependencies
$(PY) -m pytest -vl --benchmark-sort=fullname --benchmark-group-by=fullfunc --benchmark-verbose test_euler.py --cov
$(PY) -m pytest -vl --benchmark-sort=fullname --benchmark-group-by=fullfunc --benchmark-verbose test_euler.py

dependencies:
git submodule init
Expand Down
4 changes: 2 additions & 2 deletions cplusplus/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ help:

test_%: dependencies
cd ../python; $(MAKE) dependencies $(MFLAGS)
$(PY) -m pytest -vl -n$* test_euler.py --cov
$(PY) -m pytest -vl -n$* test_euler.py

test: dependencies
$(PY) -m pytest -vl --benchmark-sort=fullname --benchmark-group-by=fullfunc --benchmark-verbose test_euler.py --cov
$(PY) -m pytest -vl --benchmark-sort=fullname --benchmark-group-by=fullfunc --benchmark-verbose test_euler.py

dependencies:
$(PIP) install -r requirements.txt -r ../python/requirements.txt $(USER_FLAG) $(PROXY_ARG)
Expand Down

0 comments on commit 5590afb

Please sign in to comment.