Function: make-ert--test-execution-info--cmacro
make-ert--test-execution-info--cmacro is a function defined in
ert.el.gz.
Signature
(make-ert--test-execution-info--cmacro CL-WHOLE &cl-quote &key TEST RESULT EXIT-CONTINUATION ERT-DEBUG-ON-ERROR)
Documentation
compiler-macro for make-ert--test-execution-info.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/ert.el.gz
;; Could not find source code, showing raw function object.
#[(cl-whole &rest --cl-rest--)
((let*
((test
(car
(cdr
(or (plist-member --cl-rest-- ':test)
'(nil (cl-assert nil))))))
(result
(car
(cdr
(or (plist-member --cl-rest-- ':result)
'(nil (cl-assert nil))))))
(exit-continuation
(car
(cdr
(or (plist-member --cl-rest-- ':exit-continuation)
'(nil (cl-assert nil)))))))
(funcall
(lambda (ert-debug-on-error)
(let ((--cl-keys-- --cl-rest--))
(while --cl-keys--
(cond
((memq (car --cl-keys--)
'(:test :result :exit-continuation
:ert-debug-on-error :allow-other-keys))
(unless (cdr --cl-keys--)
(error "Missing argument for %s" (car --cl-keys--)))
(setq --cl-keys-- (cdr (cdr --cl-keys--))))
((car (cdr (memq ':allow-other-keys --cl-rest--)))
(setq --cl-keys-- nil))
(t
(error
"Keyword argument %S not one of (:test :result :exit-continuation :ert-debug-on-error)"
(car --cl-keys--))))))
(cl-block make-ert--test-execution-info--cmacro
(cl--defsubst-expand
'(test result exit-continuation ert-debug-on-error)
'(cl-block make-ert--test-execution-info
(record 'ert--test-execution-info test result
exit-continuation ert-debug-on-error))
nil cl-whole nil test result exit-continuation
ert-debug-on-error)))
(car (cdr (plist-member --cl-rest-- ':ert-debug-on-error))))))
(cl-struct-ert--test-execution-info-tags) nil
"compiler-macro for `make-ert--test-execution-info'.\n\n(fn CL-WHOLE &cl-quote &key TEST RESULT EXIT-CONTINUATION ERT-DEBUG-ON-ERROR)"]