<div dir="ltr">I believe the reason we disabled compilation was that tests weren't constrained to depend only on the core. Some tests may use planet packages, etc. Originally, this was mostly for rackunit, which was a planet package. This suggests to me that we should (a) remove the test packages from the default distribution, and (b) re-enable compilation for them. That way the dependencies will be computed properly. It also suggests that if they aren't already included, perhaps we should add planet packages to the list of things we consider among dependencies?<br>
<div><div class="gmail_extra"><br clear="all"><div>Carl Eastlund</div>
<br><br><div class="gmail_quote">On Tue, Jul 2, 2013 at 12:42 PM, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu" target="_blank">mflatt@cs.utah.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm pretty sure that "racket-test" needs to be split up. (For the<br>
initial cut, I just put the whole "tests" collection there.)<br>
<br>
I'm not sure about compiling tests for the purposes of dependency<br>
checking. It sounds ok, but I have a feeling that I'm forgetting some<br>
reason that we disabled compilation for tests.<br>
<div class="HOEnZb"><div class="h5"><br>
At Tue, 2 Jul 2013 12:20:57 -0400, Sam Tobin-Hochstadt wrote:<br>
> Currently, the `racket-test` package has very few declared<br>
> dependencies, but this is wrong. The checking in 'raco setup' doesn't<br>
> catch this because the files aren't compiled, but at a minimum it<br>
> depends on `unstable/debug` (currently a hidden part of<br>
> `typed-racket-lib`) and some portions of htdp that aren't declared.<br>
><br>
> This brings up (at least) 3 questions<br>
><br>
> - What is it ok for `racket-test` to depend on? I'd like this set to<br>
> be small, so we can test the core without needing to build everything.<br>
> - Should we compile the contents of `racket-test` so that we get<br>
> dependency checking?<br>
> - Should parts of `racket-test` be split up?<br>
><br>
> I'd like to figure this out, but I don't have answers yet.<br>
><br>
> Sam<br>
> _________________________<br>
> Racket Developers list:<br>
> <a href="http://lists.racket-lang.org/dev" target="_blank">http://lists.racket-lang.org/dev</a><br>
_________________________<br>
Racket Developers list:<br>
<a href="http://lists.racket-lang.org/dev" target="_blank">http://lists.racket-lang.org/dev</a><br>
<br>
</div></div></blockquote></div><br></div></div></div>