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

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

[elpa] 138/287: Make the test directory.


From: Matthew Fidler
Subject: [elpa] 138/287: Make the test directory.
Date: Wed, 02 Jul 2014 14:45:22 +0000

mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.

commit 649b5eceb659a41af7564d74f25c27e8e0c64455
Author: Matthew L. Fidler <address@hidden>
Date:   Wed Jun 18 11:08:33 2014 -0500

    Make the test directory.
---
 Makefile |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 9c9039e..d771872 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,6 @@ 
TEST_DEP_1_LATEST_URL=http://git.savannah.gnu.org/cgit/emacs.git/plain/lisp/emac
          test-dep-4 test-dep-5 test-dep-6 test-dep-7 test-dep-8 test-dep-9
 
 build :
-       @mkdir $(TEST_DIR)
        $(EMACS) $(EMACS_BATCH) --eval             \
            "(progn                                \
              (setq byte-compile-error-on-warn t)  \
@@ -36,12 +35,15 @@ test-dep-1 :
        (echo "Can't load test dependency $(TEST_DEP_1).el, run 'make 
downloads' to fetch it" ; exit 1)
 
 downloads :
+       @mkdir $(TEST_DIR)
        $(CURL) '$(TEST_DEP_1_STABLE_URL)' > $(TEST_DIR)/$(TEST_DEP_1).el
 
 downloads-latest :
+       @mkdir $(TEST_DIR)
        $(CURL) '$(TEST_DEP_1_LATEST_URL)' > $(TEST_DIR)/$(TEST_DEP_1).el
 
 autoloads :
+       @cd $(WORK_DIR)
        $(EMACS) $(EMACS_BATCH) --eval                       \
            "(progn                                          \
              (setq generated-autoload-file \"$(WORK_DIR)/$(AUTOLOADS_FILE)\") \
@@ -56,7 +58,7 @@ test-travis :
 
 test : build test-dep-1 test-autoloads
        @cd $(TEST_DIR)                                   && \
-       $(EMACS) $(EMACS_BATCH) -L . -L .. -l cl -l $(TEST_DEP_1) -l 
ergoemacs-mode -l ergoemacs-test --eval \
+       $(EMACS) $(EMACS_BATCH) -L . -L .. -L $(TEST_DIR) -l cl -l 
$(TEST_DEP_1) -l ergoemacs-mode -l ergoemacs-test --eval \
            "(progn                                          \
              (fset 'ert--print-backtrace 'ignore)           \
              (ert-run-tests-batch-and-exit '(and \"$(TESTS)\" (not (tag 
:interactive)))))" || exit 1; \



reply via email to

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