* semantic/lex-spp-utests.el (semantic-lex-spp-write-utest):
* tests/cedet-utests.el (cedet-utest-eieio-classloader): Throw
error if we cannot locate test files.
* semantic/utest-c.el (semantic-utest-c-compare)
(semantic-utest-c-conditionals):
* semantic/lex-spp-utest.el (semantic-lex-spp-write-utest): Adapt
to new directory structure and do better error checking to avoid
silent failures in the future.
(defun cedet-utest-eieio-classloader ()
"Try out the EIEIO tests, which just requires loading the test file."
(let ((lib (locate-library "eieio/eieio-tests.el" t)))
+ (unless lib
+ (error "Could not locate 'eieio/eieio-tests.el'"))
(message "EIEIO Base tests loading from: %S" lib)
(load-file lib)
)
(let ((lib (locate-library "eieio/eieio-test-methodinvoke.el" t)))
+ (unless lib
+ (error "Could not locate 'eieio/eieio-test-methodinvoke.el'"))
(message "EIEIO MethodInvoke tests loading from: %S" lib)
(load-file lib)
))