branch: scratch/editorconfig-cc
commit 270193df3117ff145ac3d588eaa3eb633d224f3e
Author: 10sr <[email protected]>
Commit: Stefan Monnier <[email protected]>
Fix batch command for emacs26-pretest testing
---
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index c54931985f..879533feb1 100644
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,8 @@ test: test-ert test-core test-metadata $(OBJS)
test-ert: $(ERT_TESTS) $(OBJS)
git submodule update --init
$(EMACS) $(BATCHFLAGS) \
- --eval "(require 'ert) (setq debug-on-error t)" \
+ --eval "(setq debug-on-error t)" \
+ --eval "(require 'ert)" \
--eval "(setq metadata-el-files '($(MAIN_SRC:%=\"%\")))" \
$(ERT_TESTS:%=-l "%") \
-f ert-run-tests-batch-and-exit