aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a7183d85..2006f5f4 100644
--- a/Makefile
+++ b/Makefile
@@ -379,7 +379,8 @@ clean-compiled:
clean-tests:
@echo "Removing test artifacts..."
- @rm -rf $(HOME)/.temp-emacs-tests
+ @test_dir="$${CJ_EMACS_TEST_DIR:-$${TMPDIR:-/tmp}/cj-emacs-tests}"; \
+ rm -rf "$$test_dir" "$${TMPDIR:-/tmp}"/cj-emacs-tests-* "$(HOME)/.temp-emacs-tests"
@echo "✓ Test artifacts removed"
reset: