Bug 908142 - Part c: Move FAIL_ON_WARNINGS to moz.build in xpcom/tests/; r=gps
authorMs2ger <ms2ger@gmail.com>
Sun, 20 Oct 2013 09:25:19 +0200
changeset 166187 a27418c31cd3d8cc65ef88d8362eaa3745914f30
parent 166186 66bb2a0990166119e571c55a3dfb0f448650396e
child 166188 88e3a46b2c80e2f281a3004605647dda748a4c14
push id428
push userbbajaj@mozilla.com
push dateTue, 28 Jan 2014 00:16:25 +0000
treeherdermozilla-release@cd72a7ff3a75 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs908142
milestone27.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 908142 - Part c: Move FAIL_ON_WARNINGS to moz.build in xpcom/tests/; r=gps
xpcom/tests/Makefile.in
xpcom/tests/moz.build
--- a/xpcom/tests/Makefile.in
+++ b/xpcom/tests/Makefile.in
@@ -1,18 +1,14 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-FAIL_ON_WARNINGS = 1
-
 VPATH += $(topsrcdir)/build
 
-include $(topsrcdir)/config/config.mk
-
 LIBS += $(XPCOM_LIBS)
 
 # Needed to resolve __yylex (?)
 ifeq ($(OS_ARCH)$(OS_RELEASE),FreeBSD2)
 LIBS		+= -lpcap
 endif
 
 # Make sure we have symbols in case we need to debug these.
--- a/xpcom/tests/moz.build
+++ b/xpcom/tests/moz.build
@@ -12,16 +12,18 @@ TEST_TOOL_DIRS += [
 ]
 
 if CONFIG['OS_ARCH'] == 'WINNT':
     TEST_TOOL_DIRS += ['windows']
 
 if CONFIG['DEHYDRA_PATH']:
     TEST_TOOL_DIRS += ['static-checker']
 
+FAIL_ON_WARNINGS = True
+
 EXPORTS.testing += [
     'TestHarness.h',
 ]
 
 sources = [
     'TestArguments',
     'TestBlockingProcess',
     'TestCallTemplates',