From 8c4e7fdbf54e3b8ad034e2a28adebe5fe74c44d1 Mon Sep 17 00:00:00 2001 From: Eric Ludlam Date: Wed, 22 Oct 2014 22:05:36 -0400 Subject: [PATCH] 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 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. -- 2.39.2