Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Had to :use alexandria in package.lisp and add it to :depends-on in clunit.asd #1

Closed
orthecreedence opened this issue Nov 15, 2012 · 3 comments
Assignees
Labels

Comments

@orthecreedence
Copy link

It looks like you're depending on with-gensyms without having alexandria in the :depends-on in clunit.asd or package.lisp. This was giving me errors:

Undefined function CLUNIT::RESULT called with arguments () .

Once I imported/used alexandria, everything worked fine.

@ghost ghost assigned tgutu Nov 15, 2012
@tgutu
Copy link
Owner

tgutu commented Nov 15, 2012

I have a definition of it in the utility-macros file. It seems the :serial t option does not always work the way I think when loading the asdf on some systems but not all.

Did you by any chance edit one of the files and tried reloading? That might be the cause. I sometimes got the error if I modified one of the 'macro' files because the with-gensyms definition was not reloaded. I will move the definition into the main macro file if that was not the cause.

Thanks.

@orthecreedence
Copy link
Author

I didn't edit any of the files, just cloned the git repo and started playing with it. Thanks for checking it out.

@tgutu
Copy link
Owner

tgutu commented Nov 15, 2012

Made the following change to the ASDF:

        (:module "macros"
            :serial t
            :components
                ((:file "utility-macros")
                 (:file "assertion-macros")
                 (:file "defmacros")))

I think the :serial t option at the top only affected the order of the :components at that given level. I thought it filtered all the way down. Hopefully this will solve the problem.

@tgutu tgutu closed this as completed Nov 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants