docparser
docparser copied to clipboard
Error when trying to call docparser:parse with prove/rove
Hello! I'm trying to create some tests using rove/prove, but I'm having the following error when calling (docparser:parse :some-system):
Unknown error: :FORCE and :FORCE-NOT arguments not allowed in a nested call to ASDF/OPERATE:OPERATE unless identically to toplevel
NIL
I tracked it down to this function in core.lisp:
(defun load-system (system-name)
"Load an ASDF system by name."
(with-ignored-errors ()
(asdf:compile-system system-name :force t)))
However, removing :force t still won't parse the system. I tried multiple things, but I don't seem to find a solution to this problem.
As a workaround, I managed to run the tests by removing asdf's test-op and manually using (rove:run :some-system).