summaryrefslogtreecommitdiff
path: root/gmon
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 /gmon
parentbbf5c4388acdd83fe651c82c6af5e1958202101f (diff)
gmon: Run tst-gmon-prof only for run-built-tests=yes
Diffstat (limited to 'gmon')
-rw-r--r--gmon/Makefile2
1 files changed, 2 insertions, 0 deletions
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