Rack test defines any stderr output to be a bug.

Robby

On Sunday, May 17, 2015, Matthew Butterick <m...@mbtype.com> 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/server/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
> <javascript:_e(%7B%7D,'cvml','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.rkt>
>> 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
>> <javascript:_e(%7B%7D,'cvml','racket-users%2bunsubscr...@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
> <javascript:_e(%7B%7D,'cvml','racket-users%2bunsubscr...@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