Closed Bug 672046 Opened 13 years ago Closed 13 years ago

Valgrind suppression files are still generated in objdir even when building without --enable-valgrind

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla8

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

Bug 631841 moved the Valgrind suppression files into m-c, but the build system changes made there don't check whether --enable-valgrind is set or not. 

This results in the |_valgrind| folder (containing suppression files) being generated in the objdir during the build even when valgrind is not enabled (which is the current default).
Blocks: 672045
Attached patch Patch v1Splinter Review
Adds AC_SUBST(MOZ_VALGRIND) to configure.in to allow an |ifdef MOZ_VALGRIND| in /build/Makefile.in

Running past try shortly.
Attachment #546324 - Flags: review?(ted.mielczarek)
(In reply to comment #1)
> Does this really matter?

If it were anything other than a ~6 line change, perhaps not. Happened to notice it when dealing with bug 672040.
The previous try pass was broken by one of the other changesets in the push. Submitted again without that and passed:
http://dev.philringnalda.com/tbpl/?tree=Try&rev=556cec8038c2
Flags: in-testsuite-
Comment on attachment 546324 [details] [diff] [review]
Patch v1

Review of attachment 546324 [details] [diff] [review]:
-----------------------------------------------------------------

I'm kind of with khuey in that I don't think this matters much, but I don't really care either way and you've already written the patch.
Attachment #546324 - Flags: review?(ted.mielczarek) → review+
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/452be6a8b6e4
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
MOZ_VALGRIND isn't defined in autoconf.mk.in, so this doesn't actually work. :-/
Whoops, sorry!
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: