about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-15 18:35:42 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-15 18:35:42 +0200
commit6b11a6ad714e7f2bb83556c77d2306e55a94ca54 (patch)
tree65931ebeeb6829f81f4859b61b5636c2f209c946
parentbbf5c4388acdd83fe651c82c6af5e1958202101f (diff)
downloadglibc-6b11a6ad714e7f2bb83556c77d2306e55a94ca54.tar.gz
glibc-6b11a6ad714e7f2bb83556c77d2306e55a94ca54.tar.xz
glibc-6b11a6ad714e7f2bb83556c77d2306e55a94ca54.zip
gmon: Run tst-gmon-prof only for run-built-tests=yes
-rw-r--r--ChangeLog5
-rw-r--r--gmon/Makefile2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fdea6b60a2..a1fb5165c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2017-08-15  Florian Weimer  <fweimer@redhat.com>
 
+	* gmon/Makefile (tests-special): Add tst-gmon-prof only if
+	run-built-tests.
+
+2017-08-15  Florian Weimer  <fweimer@redhat.com>
+
 	Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
 	* sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
 	BROKEN_THREAD_SIGNALS code.
diff --git a/gmon/Makefile b/gmon/Makefile
index 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