emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] scratch/merge-cedet-tests 8c4e7fd 111/316: Added arduino a


From: Edward John Steere
Subject: [Emacs-diffs] scratch/merge-cedet-tests 8c4e7fd 111/316: Added arduino and better suggestions
Date: Sat, 28 Jan 2017 09:09:52 +0000 (UTC)

branch: scratch/merge-cedet-tests
commit 8c4e7fdbf54e3b8ad034e2a28adebe5fe74c44d1
Author: Eric Ludlam <address@hidden>
Commit: Edward John Steere <address@hidden>

    Added arduino and better suggestions
    
    * test/manual/cedet/cedet/ede/secure-utest.el:
     (ede-security-project-entries): Add arduino.
     (ede-security-test-one-entry): Improve an error w/ suggestion on a
     thing to fix.
---
 test/manual/cedet/cedet/ede/secure-utest.el |   13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/test/manual/cedet/cedet/ede/secure-utest.el 
b/test/manual/cedet/cedet/ede/secure-utest.el
index 0283741..471997c 100644
--- a/test/manual/cedet/cedet/ede/secure-utest.el
+++ b/test/manual/cedet/cedet/ede/secure-utest.el
@@ -66,6 +66,10 @@ permitted.")
                     :classp 'ede-generic-cmake-project-p
                     :hazzard nil
                     :has-config t)
+   (ede-security-entry "arduino" :file "src/arduino/Blink/Blink.ino"
+                    :classp 'ede-arduino-project-p
+                    :hazzard nil
+                    :has-config t)
    )
   "List of project test entries to try.")
 
@@ -204,7 +208,8 @@ permitted.")
            ;; Make sure the config was automatically ignored.
            (unless (and (oref config ignored-file)
                         (eq (oref config ignored-file) 'auto))
-             (error "Configuration was not auto-ignored."))
+             (error "Configuration was not auto-ignored. [%S]"
+                    (oref config ignored-file)))
 
            ;; Force loading a project, but say no.
            (setq ede-check-project-query-fcn 'ede-security-question-no)
@@ -219,7 +224,11 @@ permitted.")
            ;; Make sure the config was manually ignored via our NO fcn.
            (unless (and (oref config ignored-file)
                         (eq (oref config ignored-file) 'manual))
-             (error "Configuration was not manually-ignored."))
+             (if (eq (oref config ignored-file) 'auto)
+                 (error "Configuration was not manually ignored.
+Make sure project-rescan has (call-next-method)")
+               (error "Configuration was not manually-ignored. [%S]"
+                      (oref config ignored-file))))
 
 
            ;; Now agree to load the config.



reply via email to

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