From b2e7e7edaa93f838d46ca62817b0215d089b048a Mon Sep 17 00:00:00 2001 From: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> Date: Thu, 5 Mar 2020 16:54:29 -0800 Subject: Recover coverage from subprocesses during unit tests (#15354) * Recover coverage from subprocesses during unit tests --- pytest.ini | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 pytest.ini (limited to 'pytest.ini') diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000000..baf163ef0b --- /dev/null +++ b/pytest.ini @@ -0,0 +1,10 @@ +# content of pytest.ini +[pytest] +addopts = --durations=20 -ra +testpaths = lib/spack/spack/test +python_files = *.py +markers = + db: tests that require creating a DB + network: tests that require access to the network + maybeslow: tests that may be slow (e.g. access a lot the filesystem, etc.) + regression: tests that fix a reported bug -- cgit v1.2.3-60-g2f50