aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2018-03-09 18:21:42 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2018-03-09 18:21:42 +0000
commit107dc7fcbedb8b21853be84c1b07957184963f5a (patch)
tree4dbf3465124610f3692d71fc192ddc8361fae648 /libgo
parent27e726cc31b753e6126e184a62a39237b3adc703 (diff)
commit ce28919112dbb234366816ab39ce060ad45e8ca9
Makefile: add internal/trace to noinst_DATA The internal/trace package is only imported by tests (specifically the tests in runtime/trace) so it must be in noinst_DATA to ensure that it is built before running the tests. This was mostly working because internal/trace has tests itself, and is listed in check-packages.txt before runtime/trace, so typical invocations of make would build internal/trace for checking purposes before checking runtime/trace. But we need this change to make that reliable. Reviewed-on: https://go-review.googlesource.com/99836 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258392 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r--libgo/Makefile.am1
-rw-r--r--libgo/Makefile.in4
2 files changed, 3 insertions, 2 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am
index 531f8f04d17..8f7acfe66fe 100644
--- a/libgo/Makefile.am
+++ b/libgo/Makefile.am
@@ -397,6 +397,7 @@ noinst_DATA = \
golang_org/x/net/internal/nettest.gox \
golang_org/x/net/nettest.gox \
internal/testenv.gox \
+ internal/trace.gox \
net/internal/socktest.gox \
os/signal/internal/pty.gox
diff --git a/libgo/Makefile.in b/libgo/Makefile.in
index fbca83ec3af..70269c7085f 100644
--- a/libgo/Makefile.in
+++ b/libgo/Makefile.in
@@ -757,8 +757,8 @@ toolexeclibgounicode_DATA = \
# Force them to be built.
noinst_DATA = golang_org/x/net/internal/nettest.gox \
golang_org/x/net/nettest.gox internal/testenv.gox \
- net/internal/socktest.gox os/signal/internal/pty.gox \
- zstdpkglist.go zdefaultcc.go
+ internal/trace.gox net/internal/socktest.gox \
+ os/signal/internal/pty.gox zstdpkglist.go zdefaultcc.go
@LIBGO_IS_RTEMS_FALSE@rtems_task_variable_add_file =
@LIBGO_IS_RTEMS_TRUE@rtems_task_variable_add_file = runtime/rtems-task-variable-add.c
@LIBGO_IS_AIX_FALSE@@LIBGO_IS_DARWIN_FALSE@@LIBGO_IS_FREEBSD_FALSE@@LIBGO_IS_IRIX_FALSE@@LIBGO_IS_LINUX_FALSE@@LIBGO_IS_NETBSD_FALSE@@LIBGO_IS_SOLARIS_FALSE@runtime_getncpu_file = runtime/getncpu-none.c