>From the error at

  http://pkg-build.racket-lang.org/server/built/test-fail/pollen.txt

is looks like the test depends on `racket` being in $PATH, but $PATH in
the (intentionally minimal) pkg-build test environment doesn't include
`racket`.

You could use `find-exe` from `compiler/find-exe` to make the test
independent of the $PATH setting.

At Sun, 17 May 2015 12:22:43 -0700, Matthew Butterick wrote:
> FWIW I've had the same problem. Even though 'raco test -p pollen' shows no
> errors locally nor on Travis CI, the Racket build system produces a
> "non-empty stderr" test failure [1]. In my case, however, my test file [2]
> does not use check-exn (though it does use `system`)
> 
> 
> [1]
> http://release-pkg-build.racket-lang.org.s3-website-us-west-2.amazonaws.com/serv
> er/built/test-fail/pollen.txt
> [2] https://github.com/mbutterick/pollen/blob/master/tests/test-langs.rkt
> 
> On Fri, May 15, 2015 at 10:52 AM, Greg Hendershott <
> greghendersh...@gmail.com> wrote:
> 
> > This is OT wrt deps and doc, but:
> >
> > I don't understand this reported test failure for rackjure, on both
> > versions of Racket:
> >
> > test.rkt: raco test: non-empty stderr:
> > #"--------------------\nFAILURE\nname:       check-exn\nlocation:
> >
> > 
> (#<path:/home/racket/build-pkgs/user/.racket/6.1.1/pkgs/rackjure/rackjure/test.r
> kt>
> > 68 2 2223 186)\nexpression: (check-exn exn:fail:syntax? (thunk (eval
> > (syntax (module m rackjure (0 1 ...
> >
> > When I run the tests locally or on Travis CI, with `raco test -x .`,
> > all pass including this.
> >
> > The message seems to be complaining that stderr is non-blank. But the
> > test is check-exn. Is this an issue with the test environment not
> > handling check-exn (a successful check-exn will write to stderr)?
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Racket Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to racket-users+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
> >

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to