emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] scratch/multi-level-test-makefile 99bd67d 2/6: Some copy p


From: Phillip Lord
Subject: [Emacs-diffs] scratch/multi-level-test-makefile 99bd67d 2/6: Some copy paths added to script. Playing with makefile.
Date: Fri, 06 Nov 2015 23:21:36 +0000

branch: scratch/multi-level-test-makefile
commit 99bd67d4e76ecc5c87635e1fe31fee3249604a2e
Author: Phillip Lord <address@hidden>
Commit: Phillip Lord <address@hidden>

    Some copy paths added to script. Playing with makefile.
---
 emacs-tests.org            |   67 +++++++++++++++++++++++++++++++++++++------
 test/automated/Makefile.in |    7 ++++-
 2 files changed, 63 insertions(+), 11 deletions(-)

diff --git a/emacs-tests.org b/emacs-tests.org
index 7abb276..ae08245 100644
--- a/emacs-tests.org
+++ b/emacs-tests.org
@@ -72,7 +72,49 @@ guidance is given for the organisation of resource files 
inside the
 
 
 
-* Script
+
+* The Move
+
+** Makefile
+
+Is single directory and doesn't work. Don't know how to do a recursive
+make, but actually, the directory structure isn't too deep, so perhaps
+we don't care; we can use wildcards with a few slashes in.
+
+./emulation
+./erc
+./cedet
+./cedet/semantic
+./cedet/semantic/bovine
+./cedet/semantic/decorate
+./cedet/semantic/analyze
+./cedet/semantic/symref
+./cedet/semantic/wisent
+./cedet/srecode
+./cedet/ede
+./vc
+./eshell
+./term
+./play
+./nxml
+./gnus
+./url
+./mail
+./mh-e
+./obsolete
+./textmodes
+./language
+./net
+./international
+./leim
+./leim/ja-dic
+./leim/quail
+./org
+./calc
+./emacs-lisp
+./calendar
+./progmodes
+
 
 ** Helpers
 
@@ -87,14 +129,13 @@ guidance is given for the organisation of resource files 
inside the
              (s-join
               "/"
               (-butlast
-               (cdr
-                (--drop-while
-                 (not (string= "lisp" it))
-                 (split-string
-                  (locate-library
-                   (symbol-name
-                    (symbol-at-point)))
-                  "/"))))))))
+               (--drop-while
+                (not (string= "lisp" it))
+                (split-string
+                 (locate-library
+                  (symbol-name
+                   (symbol-at-point)))
+                 "/")))))))
 #+end_src
 
 ** Move Script
@@ -103,5 +144,11 @@ guidance is given for the organisation of resource files 
inside the
 #+begin_src bash
 mkdir lisp
 mkdir c
-cp add-log-tests.el vc
+cp add-log-tests.el lisp/vc
+cp advice-tests.el lisp/emacs-lisp/nadvice-tests.el
+cp auth-source-tests.el lisp/gnus
+cp auto-revert-tests.el lisp/autorevert-tests.el
+cp bytecomp-tests.el lisp/emacs-lisp
+cp calc-tests.el lisp/calc
+cp cl-generic-tests.el lisp/emacs-lisp
 #+end_src
diff --git a/test/automated/Makefile.in b/test/automated/Makefile.in
index 41f54f8..8cbc7b9 100644
--- a/test/automated/Makefile.in
+++ b/test/automated/Makefile.in
@@ -99,10 +99,15 @@ WRITE_LOG = > $@ 2>&1 || { stat=ERROR; cat $@; }; echo 
$$stat: $@
        $(emacs) -l ert -l $$loadfile \
          -f ert-run-tests-batch-and-exit ${WRITE_LOG}
 
-ELFILES = $(sort $(wildcard ${srcdir}/*.el))
+ELFILES = $(sort $(wildcard ${srcdir}/*/*.el) $(wildcard ${srcdir}/*.el)
 LOGFILES = $(patsubst %.el,%.log,$(notdir ${ELFILES}))
 TESTS = ${LOGFILES:.log=}
 
+ping:
+       echo elfiles $(ELFILES)
+       echo logfiles $(LOGFILES)
+       echo tests $(TESTS)
+
 ## If we have to interrupt a hanging test, preserve the log so we can
 ## see what the problem was.
 .PRECIOUS: %.log



reply via email to

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