[racket-dev] [racket/typed-racket] 3e45f2: Adjust TR test package dependencies

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Dec 17 10:22:33 EST 2014

At Tue, 16 Dec 2014 16:32:59 -0500, Asumu Takikawa wrote:
> On 2014-12-16 13:26:38 -0800, Asumu Takikawa wrote:
> >   Branch: refs/heads/master
> >   Home:   https://github.com/racket/typed-racket
> >   Commit: 3e45f258bed22d16b1f7ab1cac701d20c5f57e06
> >       
> https://github.com/racket/typed-racket/commit/3e45f258bed22d16b1f7ab1cac701d20c5
> f57e06
> >   Author: Asumu Takikawa <asumu at ccs.neu.edu>
> >   Date:   2014-12-16 (Tue, 16 Dec 2014)
> > 
> >   Changed paths:
> >     M typed-racket-test/info.rkt
> > 
> >   Log Message:
> >   -----------
> >   Adjust TR test package dependencies
> 
> I made this change to satisfy the package dependency checker, but it
> seemed like the dependency should've been detected prior to Vincent's
> recent commit (that reduced a level of nesting).
> 
> Is it possible that the dependency checker was failing to detect some
> dependencies?

Commit 134f793 moved files out of a directory named "tests". By
default, a directory named "tests" is treated specially by the
dependency checker, reflecting that the directory name is treated
specially for the creation of "binary" and "binary library" variants of
a package: Unless the "info.rkt" file says otherwise, anything in
"tests" is treated as "build-time" code, and so the directory's content
creates build dependencies, not general dependencies.

That's why it was sufficient to list "unstable-flonum-lib" in
`build-deps` before commit 134f793, and why "unstable-flonum-lib" had
to be moved to `deps` afterward.


Posted on the dev mailing list.