From 5590afb64ca903d2d7398b120c4d8b0dab331221 Mon Sep 17 00:00:00 2001 From: Olivia Appleton Date: Fri, 26 Jul 2024 00:00:15 -0500 Subject: [PATCH] Don't collect coverage for the test runner --- c/Makefile | 4 ++-- cplusplus/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/c/Makefile b/c/Makefile index 62ec31ba..b2d8a756 100644 --- a/c/Makefile +++ b/c/Makefile @@ -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 diff --git a/cplusplus/Makefile b/cplusplus/Makefile index 9d016407..18607d22 100644 --- a/cplusplus/Makefile +++ b/cplusplus/Makefile @@ -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)