Bug 847369 - Hook up js/src to check make target; r=glandium
authorGregory Szorc <gps@mozilla.com>
Mon, 04 Mar 2013 11:11:55 -0800
changeset 130156 84804140759ecf0bd5141c0abcd0eb35c854c15d
parent 130155 b30d6c68b8a3d3eada81bf060c94393133fe967b
child 130157 36e5e8f661182d563aaa4efe70965201c725bedb
push idunknown
push userunknown
push dateunknown
reviewersglandium
bugs847369, 784841
milestone22.0a1
Bug 847369 - Hook up js/src to check make target; r=glandium This is a regression from bug 784841.
Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
@@ -168,8 +168,15 @@ endif
 # Look for R_386_PC32 relocations in shared libs, these
 # break x86_64 builds and SELinux users.
 ifeq ($(OS_TARGET)_$(TARGET_XPCOM_ABI),Linux_x86-gcc3)
 scheck::
 	@relcount=`find $(DIST)/bin -name "*.so" | xargs objdump -R | grep R_386_PC32 | wc -l` && if test $$relcount -gt 0; then echo "FAILED: R_386_PC32 relocations detected in a shared library.  Did you use a system header without adding it to config/system-headers?"; exit 1; else echo "PASSED"; fi
 endif
 
 js/src/Makefile: subsrcdir := js/src
+
+ifdef ENABLE_TESTS
+# Incorporate static tier directories into tests. This should be incorporated
+# into moz.build files someday.
+check::
+	$(call SUBMAKE,$@,js/src)
+endif