<div dir="ltr">No clear-system in sight, everything is declarative.<br><div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 18, 2017 at 4:42 PM Faré <<a href="mailto:fahree@gmail.com">fahree@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Oct 18, 2017 at 9:25 AM, Chream iz <<a href="mailto:chream33@gmail.com" target="_blank">chream33@gmail.com</a>> wrote:<br>
> Hi, I am also getting this error when trying to run (asdf:test-system ....).<br>
> It is also not finding the test-files but that might be an but in the prove<br>
> package?<br>
><br>
><br>
> :defsystem-depends-on (:prove-asdf)<br>
> :perform (test-op :after (op c)<br>
> (funcall (intern #.(string :run-test-system)<br>
> :prove-asdf) c)<br>
> (asdf:clear-system c)))<br>
><br>
There is your culprit: clear-system should NEVER be called within<br>
perform. It's removing the rug under ASDF as it's running -- very BAD,<br>
especially if there are many build phases. Unhappily, prove and other<br>
prove-based system skeletons (e.g. from caveman) have made this<br>
pattern popular. I sent patches to prove & al. at least six months<br>
ago, and wrote about this anti-pattern in my "best_practices"<br>
document, but I suppose the message didn't go around yet. Maybe I<br>
should make it an error for clear-system to be called from within an<br>
active asdf-session?<br>
<br>
Stas, if you also use clear-system this way, you also lose for that reason.<br>
<br>
—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• <a href="http://fare.tunes.org" rel="noreferrer" target="_blank">http://fare.tunes.org</a><br>
Young man, in mathematics you don't understand things,<br>
you just get used to them. — John von Neumann (1903-1957)<br>
<br>
</blockquote></div></div></div>