diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-07-26 01:57:04 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-07-26 01:57:04 +0000 |
commit | 1fae9801e45958493870828b44c64726609c7500 (patch) | |
tree | 327ba5fd7f5170e2e9e56e5a3503f6a733ffaed4 /libgo/Makefile.am | |
parent | f34ee0b290fe3e188bcda2985c071b031381a67b (diff) | |
download | gcc-1fae9801e45958493870828b44c64726609c7500.zip gcc-1fae9801e45958493870828b44c64726609c7500.tar.gz gcc-1fae9801e45958493870828b44c64726609c7500.tar.bz2 |
runtime, runtime/pprof: Fix runtime/pprof test to pass, enable it.
From-SVN: r189878
Diffstat (limited to 'libgo/Makefile.am')
-rw-r--r-- | libgo/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am index 7923567..f59b004 100644 --- a/libgo/Makefile.am +++ b/libgo/Makefile.am @@ -1794,7 +1794,7 @@ GOTESTFLAGS = # Check a package. CHECK = \ - GC="$(GOC) $(GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \ + GC="$(GOC) $(GOCFLAGS) $($(subst /,_,$@)_GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \ export GC; \ GOLIBS="$(MATH_LIBS) $(NET_LIBS)"; \ export GOLIBS; \ @@ -3012,6 +3012,9 @@ runtime/pprof.lo: $(go_runtime_pprof_files) runtime/pprof/check: $(CHECK_DEPS) @$(CHECK) .PHONY: runtime/pprof/check +# At least for now, we need -static-libgo for this test, because +# otherwise we can't get the line numbers. +runtime_pprof_check_GOCFLAGS = -static-libgo @go_include@ sync/atomic.lo.dep sync/atomic.lo.dep: $(go_sync_atomic_files) @@ -3548,6 +3551,7 @@ TEST_PACKAGES = \ os/user/check \ path/filepath/check \ regexp/syntax/check \ + runtime/pprof/check \ sync/atomic/check \ text/scanner/check \ text/tabwriter/check \ |