This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libgo patch RFC: Test the runtime package with the go tool


Many of the tests of the runtime package require invoking the go tool,
and therefore are not run when testing libgo.  This patch to
gotools/Makefile.am adds an additional test of the runtime package on
a native system, this time letting it run the newly built go tool.
This provides significantly more testing.  Bootstrapped and ran Go
testsuite on x86_64-pc-linux-gnu.

Ian


2017-06-23  Ian Lance Taylor  <iant@golang.org>

* Makefile.am (MOSTLYCLEANFILES): Remove testing files and logs.
(mostlyclean-local): Remove check-runtime-dir.
(ECHO_ENV): Define.
(check-go-tool): Depend on cgo.  Write command to testlog.
(check-runtime): New target.
(check): Depend on check-runtime.  Add @ to prettify output.
* Makefile.in: Rebuild.

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]