From: Eric Ludlam Date: Thu, 23 Oct 2014 02:05:36 +0000 (-0400) Subject: Added arduino and better suggestions X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8c4e7fdbf54e3b8ad034e2a28adebe5fe74c44d1;p=emacs.git 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. --- diff --git a/test/manual/cedet/cedet/ede/secure-utest.el b/test/manual/cedet/cedet/ede/secure-utest.el index 028374129aa..471997cf3b8 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.