emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/csharp-mode 981ff38 275/459: Make it easier to reproduc


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode 981ff38 275/459: Make it easier to reproduce CI errors locally.
Date: Sun, 22 Aug 2021 13:59:43 -0400 (EDT)

branch: externals/csharp-mode
commit 981ff3830fa90e25206c23263b23ea82dba91d61
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>

    Make it easier to reproduce CI errors locally.
---
 makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/makefile b/makefile
index efaf0ca..d7db0eb 100644
--- a/makefile
+++ b/makefile
@@ -1,6 +1,7 @@
 EMACS="$(shell which emacs)"
 EMACS_CLI=$(EMACS) -Q -batch -L .
 CASK=~/.cask/bin/cask
+TESTHOME=/tmp/emacs
 
 package: build
        $(CASK) package
@@ -9,7 +10,9 @@ build: test
        $(CASK) build
 
 test: *.el
-       + $(EMACS_CLI) -l csharp-mode-tests.el -f ert-run-tests-batch-and-exit
+       rm -rf $(TESTHOME)
+       mkdir -p $(TESTHOME)
+       + HOME=$(TESTHOME) $(EMACS_CLI) -l csharp-mode-tests.el -f 
ert-run-tests-batch-and-exit
 
 clean:
        $(CASK) clean-elc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]