2012-03-31 04:42:20 +00:00
|
|
|
# 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/.
|
|
|
|
|
2013-09-05 15:20:26 +00:00
|
|
|
include ../webidlsrcs.mk
|
2012-05-23 16:44:48 +00:00
|
|
|
|
2013-12-12 07:26:38 +00:00
|
|
|
# $(test_sources) comes from webidlsrcs.mk.
|
|
|
|
# TODO Update this variable in backend.mk.
|
|
|
|
CPPSRCS += $(addprefix ../,$(test_sources))
|
2012-05-23 16:44:48 +00:00
|
|
|
|
2013-11-19 18:16:51 +00:00
|
|
|
ifdef GNU_CC
|
2013-12-12 07:26:38 +00:00
|
|
|
OS_CXXFLAGS += -Wno-uninitialized
|
2013-11-19 18:16:51 +00:00
|
|
|
endif
|
2013-03-10 07:58:21 +00:00
|
|
|
|
2013-12-12 07:26:38 +00:00
|
|
|
# Bug 932082 tracks having bindings use namespaced includes.
|
2014-02-18 13:49:12 +00:00
|
|
|
LOCAL_INCLUDES += -I$(DIST)/include/mozilla/dom
|
2013-12-12 07:26:38 +00:00
|
|
|
|
2012-07-26 16:38:03 +00:00
|
|
|
# Include rules.mk before any of our targets so our first target is coming from
|
|
|
|
# rules.mk and running make with no target in this dir does the right thing.
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2012-06-10 23:44:50 +00:00
|
|
|
check::
|
2012-07-02 20:32:42 +00:00
|
|
|
PYTHONDONTWRITEBYTECODE=1 $(PYTHON) $(topsrcdir)/config/pythonpath.py \
|
|
|
|
$(PLY_INCLUDE) $(srcdir)/../parser/runtests.py
|