Movatterモバイル変換
[0]ホーム
This is the mail archive of thelibc-alpha@sourceware.orgmailing list for theglibc project.
Re: [PATCH] Test for profiling support (_mcount/gprof)
On 08/15/2017 06:32 PM, Joseph Myers wrote:> The new test in tests-special needs to be conditional on > run-built-tests=yes; right now it makes run-built-tests=no cross tests, as > with build-many-glibcs.py, fail as it tries to run tst-gmon natively.Oops. Like this?Thanks,Florian
gmon: Run tst-gmon-prof only for run-built-tests=yes2017-08-15 Florian Weimer <fweimer@redhat.com>* gmon/Makefile (tests-special): Add tst-gmon-prof only ifrun-built-tests.diff --git a/gmon/Makefile b/gmon/Makefileindex 947e6b5905..39f11acec2 100644--- a/gmon/Makefile+++ b/gmon/Makefile@@ -42,7 +42,9 @@ CFLAGS-tst-gmon.c := -pg LDFLAGS-tst-gmon := $(no-pie-ldflag) CRT-tst-gmon := $(csu-objpfx)gcrt1.o tst-gmon-ENV := GMON_OUT_PREFIX=$(objpfx)tst-gmon.data+ifeq ($(run-built-tests),yes) tests-special += $(objpfx)tst-gmon-gprof.out+endif include ../Rules
[8]ページ先頭