[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/merge-cedet-tests 702d44d 139/316: Fix how the tar
From: |
Edward John Steere |
Subject: |
[Emacs-diffs] scratch/merge-cedet-tests 702d44d 139/316: Fix how the target file name is created |
Date: |
Sat, 28 Jan 2017 09:09:55 +0000 (UTC) |
branch: scratch/merge-cedet-tests
commit 702d44db8f913d626aae65777eff03aa37689970
Author: Eric Ludlam <address@hidden>
Commit: Edward John Steere <address@hidden>
Fix how the target file name is created
* test/manual/cedet/cedet/ede/detect-dirtest.el (ede-dirmatch-load):
Fix how target file name was created. (project-rescan): New.
---
test/manual/cedet/cedet/ede/detect-dirtest.el | 32 ++++++++++++-------------
1 file changed, 15 insertions(+), 17 deletions(-)
diff --git a/test/manual/cedet/cedet/ede/detect-dirtest.el
b/test/manual/cedet/cedet/ede/detect-dirtest.el
index 483435a..2825369 100644
--- a/test/manual/cedet/cedet/ede/detect-dirtest.el
+++ b/test/manual/cedet/cedet/ede/detect-dirtest.el
@@ -37,23 +37,15 @@
Return nil if there isn't one.
Argument DIR is the directory it is created for.
ROOTPROJ is nil, sinc there is only one project for a directory tree."
- (let* ((proj (ede-directory-get-open-project dir)))
- (if proj
- proj
-
- ;; Create a new project here.
- (let* ((name (file-name-nondirectory (directory-file-name dir)))
- (cpp (expand-file-name (concat name ".cpp") dir)))
- (setq proj (ede-detect-test-dirmatch-project
- name
- :name name
- :directory (file-name-as-directory dir)
- :file cpp
- :targets nil))
- ;;(message "Create dirtest project type!")
- proj
- )
- )))
+ ;; Create a new project here.
+ (let* ((name (file-name-nondirectory (directory-file-name dir)))
+ (cpp (expand-file-name (concat name ".cpp") dir)))
+ (ede-detect-test-dirmatch-project
+ name
+ :name name
+ :directory (file-name-as-directory dir)
+ :file cpp
+ :targets nil)))
(defmethod ede-project-root ((this ede-detect-test-dirmatch-project))
"Return my root."
@@ -81,6 +73,12 @@ ROOTPROJ is nil, sinc there is only one project for a
directory tree."
"Return PROJ, for handling all subdirs below DIR."
proj)
+(defmethod project-rescan ((this ede-detect-test-dirmatch-project))
+ "Don't rescan this project from the sources."
+ ;;(message "Rescan for dirmatch test project run.")
+ nil)
+
+
;;(message "Loaded detect-dirtest.el")
(provide 'cedet/ede/detect-dirtest)
- [Emacs-diffs] scratch/merge-cedet-tests b94f97e 101/316: (Lisp): Add cit-externaldb.el, (continued)
- [Emacs-diffs] scratch/merge-cedet-tests b94f97e 101/316: (Lisp): Add cit-externaldb.el, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 9641120 108/316: Fake configure.in for project detection purposes., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests adc318b 115/316: New test file., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 901dc28 119/316: New test file., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests f580185 118/316: Expand preprocessor to handle macros which open or close scope., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests ded1e9b 109/316: EDE security tests, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests cc6e417 123/316: Improve test utilities re complation and deletion, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests c86be27 133/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 216e4f4 129/316: Synchronize cedet/semantic with Emacs., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 377e041 142/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 702d44d 139/316: Fix how the target file name is created,
Edward John Steere <=
- [Emacs-diffs] scratch/merge-cedet-tests 7b417f2 131/316: Tests contributed by Barry OReilly, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests a3da4e8 121/316: Added new file to test completion on STL classes and namespace., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 309ef34 124/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests ae78cf0 140/316: Tests: Add ERT test for the C Bovinator, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 39048f9 153/316: (ede-detect-utest): Re-run tests with inode optimization disabled., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests af4eb43 149/316: Additions to generic project testing, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 614a6bb 044/316: Synchronize base 'cedet/ede' with Emacs, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests a375d40 093/316: ("cit"): Give it a new name. (Misc): New target., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests b0da906 144/316: New unit test for EDE project detection., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 9c2d002 145/316: Added cpproot and java root to detection tests, Edward John Steere, 2017/01/28