From 6eff98e0a98ace82598c1d53a65aac13bc7ad235 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Wed, 2 Mar 2016 11:21:26 +0100 Subject: [PATCH] Bug 1248950 - Move xpidl unit tests to moz.build; r=ted --- xpcom/idl-parser/xpidl/Makefile.in | 6 ------ xpcom/idl-parser/xpidl/moz.build | 3 +++ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/xpcom/idl-parser/xpidl/Makefile.in b/xpcom/idl-parser/xpidl/Makefile.in index f58f49799b07..43b780570cbf 100644 --- a/xpcom/idl-parser/xpidl/Makefile.in +++ b/xpcom/idl-parser/xpidl/Makefile.in @@ -38,12 +38,6 @@ $(IDL_PARSER_CACHE_DIR)/xpidllex.py: $(PARSER_SRCS) $(PLY_FILES) # 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 \ diff --git a/xpcom/idl-parser/xpidl/moz.build b/xpcom/idl-parser/xpidl/moz.build index 895d11993cfb..0905d78f5894 100644 --- a/xpcom/idl-parser/xpidl/moz.build +++ b/xpcom/idl-parser/xpidl/moz.build @@ -4,3 +4,6 @@ # 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', +]