We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
make pytest
1 parent cbe94bc commit f78a924Copy full SHA for f78a924
Makefile
@@ -456,6 +456,11 @@ else
456
PYTEST_OPTS += -x
457
endif
458
459
+# Allow for targeting specific tests by setting the PYTEST_TESTS environment variable.
460
+ifeq ($(PYTEST_TESTS),)
461
+PYTEST_TESTS = "tests/"
462
+endif
463
+
464
check-units:
465
466
check: check-units installcheck pytest
@@ -466,7 +471,7 @@ ifeq ($(PYTEST),)
471
exit 1
467
472
else
468
473
# Explicitly hand VALGRIND so you can override on make cmd line.
469
- PYTHONPATH=$(MY_CHECK_PYTHONPATH) TEST_DEBUG=1 VALGRIND=$(VALGRIND) $(PYTEST) tests/ $(PYTEST_OPTS)
474
+ PYTHONPATH=$(MY_CHECK_PYTHONPATH) TEST_DEBUG=1 VALGRIND=$(VALGRIND) $(PYTEST) $(PYTEST_TESTS) $(PYTEST_OPTS)
470
475
476
477
check-fuzz: $(ALL_FUZZ_TARGETS)
0 commit comments