Bug 1248950 - Move xpidl unit tests to moz.build; r=ted
authorMs2ger <Ms2ger@gmail.com>
Wed, 02 Mar 2016 11:21:26 +0100
changeset 324685 4c2bb3fc363d90404e89724f8426d8f9eb0854f0
parent 324645 1655d7bc34e169ac1531469e56870b876f531fe8
child 324686 a19efafe26aceb4feef4ec6e57757d77f868b690
push id1128
push userjlund@mozilla.com
push dateWed, 01 Jun 2016 01:31:59 +0000
treeherdermozilla-release@fe0d30de989d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs1248950
milestone47.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 1248950 - Move xpidl unit tests to moz.build; r=ted
xpcom/idl-parser/xpidl/Makefile.in
xpcom/idl-parser/xpidl/moz.build
--- a/xpcom/idl-parser/xpidl/Makefile.in
+++ b/xpcom/idl-parser/xpidl/Makefile.in
@@ -33,22 +33,16 @@ include $(topsrcdir)/config/rules.mk
 $(IDL_PARSER_CACHE_DIR)/xpidllex.py: $(PARSER_SRCS) $(PLY_FILES)
 	$(PYTHON_PATH) \
 	  $(PLY_INCLUDE) \
 	  $(srcdir)/header.py --cachedir=$(IDL_PARSER_CACHE_DIR) --regen
 
 # generating xpidllex.py generates xpidlyacc.py too
 $(IDL_PARSER_CACHE_DIR)/xpidlyacc.py: $(IDL_PARSER_CACHE_DIR)/xpidllex.py
 
-check::
-	$(PYTHON_PATH) \
-	  $(PLY_INCLUDE) \
-	  -I. \
-	  $(srcdir)/runtests.py
-
 garbage_files := \
   xpidllex.py \
   xpidllex.pyc \
   xpidlyacc.py \
   xpidlyacc.pyc \
   xpidl_debug \
   $(NULL)
 
--- a/xpcom/idl-parser/xpidl/moz.build
+++ b/xpcom/idl-parser/xpidl/moz.build
@@ -1,6 +1,9 @@
 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # 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/.
 
+PYTHON_UNIT_TESTS += [
+    'runtests.py',
+]