tests: Refactor CHECKED-COMPILE
commit2f372a6ff3840229b7fb8a047bfc5c7edd9656ac
authorJan Moringen <jmoringe@techfak.uni-bielefeld.de>
Sat, 14 Oct 2017 15:14:16 +0000 (14 17:14 +0200)
committerJan Moringen <jmoringe@techfak.uni-bielefeld.de>
Sat, 14 Oct 2017 15:14:16 +0000 (14 17:14 +0200)
tree780c483269caea20a0888549136c99ded79c4f5c
parente806e899d64ef7d6351f7de19c7d7b3c6ea8e3b6
tests: Refactor CHECKED-COMPILE

* Factored out PREPARED-FORM still does two things: 1) ensure THING is
  not already a function 2) potentially splice an OPTIMIZE declaration

* Factored out COMPILE-CAPTURING-OUTPUT-AND-CONDITIONS

* Factored out PRINT-FORM-AND-OPTIMIZE and improved error message

* Factored out PRINT-SIGNALED-CONDITIONS
tests/test-util.lisp