|
1 # This Source Code Form is subject to the terms of the Mozilla Public |
|
2 # License, v. 2.0. If a copy of the MPL was not distributed with this file, |
|
3 # You can obtain one at http://mozilla.org/MPL/2.0/. |
|
4 |
|
5 include ../webidlsrcs.mk |
|
6 |
|
7 # $(test_sources) comes from webidlsrcs.mk. |
|
8 # TODO Update this variable in backend.mk. |
|
9 CPPSRCS += $(addprefix ../,$(test_sources)) |
|
10 |
|
11 ifdef GNU_CC |
|
12 OS_CXXFLAGS += -Wno-uninitialized |
|
13 endif |
|
14 |
|
15 # Bug 932082 tracks having bindings use namespaced includes. |
|
16 LOCAL_INCLUDES += -I$(DIST)/include/mozilla/dom |
|
17 |
|
18 # Include rules.mk before any of our targets so our first target is coming from |
|
19 # rules.mk and running make with no target in this dir does the right thing. |
|
20 include $(topsrcdir)/config/rules.mk |
|
21 |
|
22 check:: |
|
23 PYTHONDONTWRITEBYTECODE=1 $(PYTHON) $(topsrcdir)/config/pythonpath.py \ |
|
24 $(PLY_INCLUDE) $(srcdir)/../parser/runtests.py |