summaryrefslogtreecommitdiff
path: root/source4/torture/config.mk
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-02-20 19:20:13 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-02-20 19:20:13 +1100
commit1c1781b2c4a09080a19f834ba947d0410b2141f7 (patch)
tree05101a73b97f40d3019066206c4ec2146b09248d /source4/torture/config.mk
parentab915504aaa40cebe5fa09a47b2ae46f7f9f334a (diff)
downloadsamba-1c1781b2c4a09080a19f834ba947d0410b2141f7.tar.gz
samba-1c1781b2c4a09080a19f834ba947d0410b2141f7.tar.bz2
samba-1c1781b2c4a09080a19f834ba947d0410b2141f7.zip
Simpler specification of CFLAGS and LDFLAGS
By being more consistant in applying CFLAGS and LDFLAGS (in particular) to every invocation, we make it simpler to enable gcov code coverage, both in the build system and on the build farm. Andrew Bartlett (This used to be commit 8c2f658a9688f0c51d2f3b948dc3213b65c7b77f)
Diffstat (limited to 'source4/torture/config.mk')
-rw-r--r--source4/torture/config.mk10
1 files changed, 2 insertions, 8 deletions
diff --git a/source4/torture/config.mk b/source4/torture/config.mk
index 82e32e1ece..626349a45d 100644
--- a/source4/torture/config.mk
+++ b/source4/torture/config.mk
@@ -370,17 +370,11 @@ MANPAGE = man/locktest.1
# End BINARY locktest
#################################
-GCOV_FLAGS = --coverage
-
COV_TARGET = test
COV_VARS = \
- CFLAGS="$(CFLAGS) $(GCOV_FLAGS)" \
- BNLD_FLAGS="$(BNLD_FLAGS) $(GCOV_FLAGS)" \
- SHLD_FLAGS="$(SHLD_FLAGS) $(GCOV_FLAGS)" \
- MDLD_FLAGS="$(MDLD_FLAGS) $(GCOV_FLAGS)" \
- HOSTCC_FLAGS="$(HOSTCC_FLAGS) $(GCOV_FLAGS)" \
- HOSTLD_FLAGS="$(HOSTLD_FLAGS) $(GCOV_FLAGS)"
+ CFLAGS="$(CFLAGS) --coverage" \
+ LDFLAGS="$(LDFLAGS) --coverage"
test_cov:
-$(MAKE) $(COV_TARGET) $(COV_VARS)