That's a marvellous hack Aram!
It would still be nicer if there was an easier way though.

On 20 Oct 2016 20:09, "Aram Hăvărneanu" <ara...@mgk.ro> wrote:

On Wed, Oct 19, 2016 at 7:27 PM, Nate Finch <nate.fi...@gmail.com> wrote:
> Please give us an easy way to ensure all tests in a list of packages
compile

Do something like this:

    go test -toolexec wrapper -exec success pkgs...

Where wrapper is a binary that dispatches to the compiler, but a nop
when called with the linker, and success is a binary that just exits
successfully.

--
Aram Hăvărneanu

--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to golang-nuts+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 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to