[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/merge-cedet-tests 284144e 154/316: Fixes for test
From: |
Edward John Steere |
Subject: |
[Emacs-diffs] scratch/merge-cedet-tests 284144e 154/316: Fixes for test execution |
Date: |
Sat, 28 Jan 2017 09:09:56 +0000 (UTC) |
branch: scratch/merge-cedet-tests
commit 284144eaad662481d70283cb8f933fb94a950bd6
Author: Eric Ludlam <address@hidden>
Commit: Edward John Steere <address@hidden>
Fixes for test execution
* test/manual/cedet/cedet/ede/detect-utest.el: (ede-detect-entry):
Remove `found-state' slot as it was unused. (ede-detect-show-state):
When an error in init, show it. (ede-detect-utest-project-entries):
Add a linux driver test added where this dir would detect as generic
makefile, but it is in Linux. (ede-detect-utest-loop): Add better
failed load message.
---
test/manual/cedet/cedet/ede/detect-utest.el | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/test/manual/cedet/cedet/ede/detect-utest.el
b/test/manual/cedet/cedet/ede/detect-utest.el
index 1add928..4bd1130 100644
--- a/test/manual/cedet/cedet/ede/detect-utest.el
+++ b/test/manual/cedet/cedet/ede/detect-utest.el
@@ -54,7 +54,6 @@ It is passed the root project found.")
;; state variables.
(init-state :initform nil)
(init-opt-data)
- (found-state :initform nil)
(classp-state :initform nil)
(optp-state :initform nil)
(doubledetect-state :initform nil)
@@ -120,6 +119,9 @@ It is passed the root project found.")
(cedet-utest-log "%40s %s %s %s %s %s %s"
(oref entry file)
found class opt ddets rescans inits)
+ (when (stringp init)
+ ;; A string is an error with some details.
+ (cedet-utest-log "%40s %s" "--init msg-- "init))
))
(defmethod ede-detect-show-progress ((entry ede-detect-entry))
@@ -148,6 +150,8 @@ It is passed the root project found.")
:classp 'ede-emacs-project-p)
(ede-detect-entry "emacs sub" :file "src/emacs/src/emacs.c"
:classp 'ede-emacs-project-p)
+ (ede-detect-entry "linux driver" :file "src/linux/drivers/block/ub.c"
+ :classp 'ede-linux-project-p)
(ede-detect-entry "linux" :file "src/linux/Makefile"
:classp 'ede-linux-project-p)
(ede-detect-entry "linux sub" :file "src/linux/scripts/ver_linux"
@@ -244,6 +248,11 @@ It is passed the root project found.")
(ede-generic-new-autoloader "generic-VC" "FAKE VC"
"VC" 'ede-generic-vc-project)
+ ;; Initial State Dump
+ ;;(message "Dump Autoload State.")
+ ;;(dolist (pc ede-project-class-files)
+ ;; (message (eieio-object-name pc) ))
+
;; Start Logging
(cedet-utest-log-setup "EDE DETECT")
@@ -358,7 +367,9 @@ It is passed the root project found.")
;; (substring default-directory
baselen)
;; (eieio-object-name (cdr
projdetect))
;; (eieio-object-name fle))
- (oset fle init-state "Failed to load project of correct
type.")
+ (oset fle init-state
+ (format "Failed to load project of correct type.
Found %S"
+ (oref (cdr projdetect) class-sym)))
(oset fle init-opt-data (eieio-object-name (cdr
projdetect)))
(push fle errlog))))
- [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/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
- [Emacs-diffs] scratch/merge-cedet-tests 47c4081 165/316: sample lib srces for dirmatch tests., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests ef840da 159/316: compdb: add project detection tests, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 8c4e7fd 111/316: Added arduino and better suggestions, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 6945c33 126/316: Expand preprocessor to handle macros which open or close scope., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 89526ab 134/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 0e41dab 116/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 8ba639f 150/316: (ede-detect-utest-project-list): Add jvm-base projects for ant, lein, maven, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 284144e 154/316: Fixes for test execution,
Edward John Steere <=
- [Emacs-diffs] scratch/merge-cedet-tests fa54ec1 162/316: (isFooLike, A, B, main2): New test tweaked from example by Liang Wang, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests cebc72c 228/316: Make unit tests use randomized file names, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 7fce11d 056/316: Uniquafy names from last example from Martin to include ms_ prefix., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 779f839 032/316: (LOADPATH): Add speedbar. (EMACSFLAGS): New variable (Lisp): Use above., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 1c4ec31 045/316: Add test for parsing local variables, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 05006be 049/316: Semantic Symref testing., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests c2fada4 230/316: Force srecode repo location and add decorations to debug output, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests f916b8f 125/316: C/C++: Fix function pointer parsing, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests c40401d 273/316: Remove obsolete cvs-auto-updated 'X-RCS' line., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 19646a7 141/316: semantic/bovine/c: Add support for typedef references, Edward John Steere, 2017/01/28
- Prev by Date:
[Emacs-diffs] scratch/merge-cedet-tests 8ba639f 150/316: (ede-detect-utest-project-list): Add jvm-base projects for ant, lein, maven
- Next by Date:
[Emacs-diffs] scratch/merge-cedet-tests fa54ec1 162/316: (isFooLike, A, B, main2): New test tweaked from example by Liang Wang
- Previous by thread:
[Emacs-diffs] scratch/merge-cedet-tests 8ba639f 150/316: (ede-detect-utest-project-list): Add jvm-base projects for ant, lein, maven
- Next by thread:
[Emacs-diffs] scratch/merge-cedet-tests fa54ec1 162/316: (isFooLike, A, B, main2): New test tweaked from example by Liang Wang
- Index(es):