[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/merge-cedet-tests 558874e 169/316: Update comments
From: |
Edward John Steere |
Subject: |
[Emacs-diffs] scratch/merge-cedet-tests 558874e 169/316: Update comments |
Date: |
Fri, 27 Jan 2017 20:03:37 +0000 (UTC) |
branch: scratch/merge-cedet-tests
commit 558874ec4fed79ab2ca275a35de411c298b8dabb
Author: zappo <address@hidden>
Commit: Edward John Steere <address@hidden>
Update comments
* test/manual/cedet/cedet-integ-test.el (cedet-integ-test,
cit-srecode-fill, cit-srecode-fill-with-stuff): Updated comments.
---
test/manual/cedet/cedet-integ-test.el | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/test/manual/cedet/cedet-integ-test.el
b/test/manual/cedet/cedet-integ-test.el
index d2c1425..b05b32c 100644
--- a/test/manual/cedet/cedet-integ-test.el
+++ b/test/manual/cedet/cedet-integ-test.el
@@ -44,14 +44,14 @@
;; c Use a template to build some C++ templates
;; d SRecode to load the new template and construct some sources.
;;
-;; 5) Semantic to parse stuff
+;; 3) Semantic to parse stuff
;; a Parse the sources
;; b Use srecode to make more sources
;; c test the incremental parsers.
;; d test the completion engine.
;; e Save semanticdb tables. Are the files there?
;;
-;; 6) Delete the project
+;; 4) Delete the project
;; a Make sure the semanticdb cleans up the dead cache files.
;; b Make sure EDE clears this project from it's project cache.
@@ -65,6 +65,7 @@
;; 1 a) build directories
;;
(cit-make-dir cedet-integ-target)
+ ;; 1 c) make src and include directories
(cit-make-dir (cit-file "src"))
(cit-make-dir (cit-file "include"))
;;
@@ -72,7 +73,7 @@
;;
(find-file (expand-file-name "README" cedet-integ-target))
(ede-new "Make" "CEDET Integ Test Project")
- ;;
+ ;; 1 d) Put C++ src into the right directories.
;; 2 a) Create sources with SRecode
;;
(cit-srecode-fill)
@@ -158,17 +159,22 @@ Append FILENAME to the target directory."
(defun cit-srecode-fill ()
"Fill up a base set of files with some base tags."
+ ;; 2 b) Test various templates.
+
(cit-srecode-fill-with-stuff "include/foo.hh" cit-header-tags)
(ede-new "Make" "Includes")
+ ;; 1 e) Tell EDE where the srcs are
(ede-new-target "Includes" "miscelaneous" "n")
(ede-add-file "Includes")
(cit-srecode-fill-with-stuff "src/foo.cpp" cit-src-tags)
(ede-new "Make" "Src")
+ ;; 1 e) Tell EDE where the srcs are
(ede-new-target "Prog" "program" "n")
(ede-add-file "Prog")
(cit-srecode-fill-with-stuff "src/main.cpp" cit-main-tags)
+ ;; 1 e) Tell EDE where the srcs are
(ede-add-file "Prog")
(let ((p (ede-current-project)))
@@ -177,7 +183,9 @@ Append FILENAME to the target directory."
)
(find-file "../Project.ede")
+ ;; 1 f) Create a build file.
(ede-proj-regenerate)
+ ;; 1 g) build the sources.
(compile "make")
)
@@ -196,6 +204,7 @@ Argument TAGS is the list of tags to insert into FILENAME."
(erase-buffer)
(srecode-insert "file:empty")
+ ;; 3 a) Parse the sources
(setq post-empty-tags (semantic-fetch-tags))
;;
@@ -204,6 +213,8 @@ Argument TAGS is the list of tags to insert into FILENAME."
(dolist (tag tags)
(sit-for 0)
+ ;; 3 b) Srecode to make more sources
+ ;; 3 c) Test incremental parsers (by side-effect)
(let ((e (srecode-semantic-insert-tag tag)))
(goto-char e)
- [Emacs-diffs] scratch/merge-cedet-tests a375d40 093/316: ("cit"): Give it a new name. (Misc): New target., (continued)
- [Emacs-diffs] scratch/merge-cedet-tests a375d40 093/316: ("cit"): Give it a new name. (Misc): New target., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests d2dcc15 112/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 19ff260 128/316: Synchronize cedet/semantic with Emacs., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 64c305b 137/316: Test files contributed by Barry OReilly, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests f916b8f 125/316: C/C++: Fix function pointer parsing, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests f3a937b 143/316: Test project file., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 377e041 142/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests ae78cf0 140/316: Tests: Add ERT test for the C Bovinator, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 0897a28 127/316: Test file for Project.ede proj., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 3fd7717 192/316: Synchronize cedet/srecode with Emacs., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 558874e 169/316: Update comments,
Edward John Steere <=
- [Emacs-diffs] scratch/merge-cedet-tests db5f56b 172/316: (cedet-integ-test): Post a PASSED message., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 40b4bd4 204/316: Adedd `ede-detect-utest', Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 24be9ac 184/316: Insert tag's code if it's there, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 6bd181e 224/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests df0e0e6 193/316: Synchronize cedet/srecode with Emacs., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 909e1b9 158/316: (ede-detect-utest-init-dirmatch): Force the dirmatch configdatastash to be unbound to force arduino to flush any cached values., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 50cce19 183/316: Added lib dir and make-type argument, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 82586cd 209/316: eieio: Move to obsolete and use the one that ships with Emacs, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 7eeab10 240/316: (cit-remove-and-do-shared-lib): Enable for use with Make projects too. Create the srcs in a new lib directory., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 27001fd 271/316: Accept the make-tipe argument to control tests, Edward John Steere, 2017/01/27