[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: |
Fri, 27 Jan 2017 20:03:36 +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 ecfcde6 028/316: (all, dist): Add scripts (scripts): New, (continued)
- [Emacs-diffs] scratch/merge-cedet-tests ecfcde6 028/316: (all, dist): Add scripts (scripts): New, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 534648f 051/316: Remove obsolete cvs-auto-updated 'X-RCS' line., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests c856c20 052/316: New test file., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 541cc30 053/316: (cpprootsys.h, projincmacros.h): New includes (projmacro_a): New fcn., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests d08bd3b 117/316: C/C++: Fix function pointer parsing, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests cd08101 179/316: Added cit uml, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests e96e309 178/316: Added new subdir and ensure that the base dir, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 765b8f9 208/316: (cedet-utest-test-alist): Add ede-detect-linux-utest., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests de289a9 189/316: Compare Code And Documtation For Tags, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 7177e01 210/316: Add compdb EDE project, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 284144e 154/316: Fixes for test execution,
Edward John Steere <=
- [Emacs-diffs] scratch/merge-cedet-tests fd40e7f 212/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 404d4da 242/316: Improve compilation active detection, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 3cb2319 243/316: Added code for test tags, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 05006be 049/316: Semantic Symref testing., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 614a6bb 044/316: Synchronize base 'cedet/ede' with Emacs, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests dbfb320 057/316: Test files contributed by Barry OReilly, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests b76efc7 062/316: Determine the STYLE of test to run. If none passed in, use Make., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 573b4a5 059/316: Remove more temporary directories, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 3730a42 069/316: New include for cpproot test that is in a subdirectory., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 4131d23 046/316: Fix typo in last commit., Edward John Steere, 2017/01/27