Skip to content

Commit f63d29f

Browse files
authored
Make the make test command delete all the test files, not just some of them (#4485)
1 parent 1c1092b commit f63d29f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ py-test: .cache/py-packages ## Run Python tests with pytest, including coverage
4141
${UV_RUN}pytest --reuse-db --cov --cov-report term:skip-covered
4242

4343
@echo "Removing test files generated during test"
44-
@find media/ -iname 'test_*.pdf' -o -iname 'test_image*' -o -iname '*.dat' -delete
44+
@find media/ -iname 'test_*.pdf' -delete
45+
@find media/ -iname '*.dat' -delete
4546
@find media/ -type d -empty -delete
4647
@rm -rf media/temp_uploads/*
4748

0 commit comments

Comments
 (0)