From a0bcd1263520997468f8fd38acb71270c96d1827 Mon Sep 17 00:00:00 2001 From: deeplow Date: Mon, 7 Aug 2023 12:42:15 +0100 Subject: [PATCH] Large test run: hide traceback to avoid spam Some tests are expected to fail. To avoid having potentially thousands of tracebacks of the failed docs at the end, we're deactivating that reporting. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9f8e501..04baeed 100644 --- a/Makefile +++ b/Makefile @@ -63,7 +63,7 @@ test-large-init: test-large-requirements TEST_LARGE_RESULTS:=$(LARGE_TEST_REPO_DIR)/results/junit/commit_$(GIT_DESC).junit.xml .PHONY: tests-large test-large: test-large-init ## Run large test set - python -m pytest tests/test_large_set.py::TestLargeSet -v $(JUNIT_FLAGS) --junitxml=$(TEST_LARGE_RESULTS) + python -m pytest --tb=no tests/test_large_set.py::TestLargeSet -v $(JUNIT_FLAGS) --junitxml=$(TEST_LARGE_RESULTS) python $(TEST_LARGE_RESULTS)/report.py $(TEST_LARGE_RESULTS) # Makefile self-help borrowed from the securedrop-client project