eudoxia0 / docparser

Extract documentation from Common Lisp systems
41 stars 18 forks source link

Error when trying to call docparser:parse with prove/rove #25

Open stefandevai opened 4 years ago

stefandevai commented 4 years ago

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.

stefandevai commented 4 years ago

As a workaround, I managed to run the tests by removing asdf's test-op and manually using (rove:run :some-system).