Permalink
Browse files

Run only javascript tests, cctests being for development of v8 itself.

  • Loading branch information...
1 parent 5bb32ee commit 6ca36b8d38003774f599e74adacda5e015ea9bf9 @kapouer kapouer committed Apr 23, 2011
Showing with 4 additions and 3 deletions.
  1. +4 −3 debian/rules
View
7 debian/rules
@@ -40,8 +40,8 @@ DEB_SCONS_BUILD_TARGET = library
# Scons does not always add -soname param, force it. This prevents gold linker from erroring.
DEB_SCONS_ENVVARS = SONAME=libv8.so.$(SONAME)
-# regression tests need to build shell for mjsunit, and cc code for cctest
-DEB_SCONS_CHECK_TARGET = sample sample=shell cctests
+# regression tests need to build shell for mjsunit
+DEB_SCONS_CHECK_TARGET = sample sample=shell
DEB_SCONS_INSTALL_OPTIONS += DESTDIR="$(cdbs_curdestdir)"
@@ -55,9 +55,10 @@ clean::
# actually run regression tests
# * relax regression tests when targeted experimental suite
+# * run only javascript tests, cctests are for development purposes
exp-relax-check := $(if $(shell dpkg-parsechangelog | grep -Fx 'Distribution: experimental'),-)
common-post-build-impl::
- $(exp-relax-check)$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,LD_PRELOAD=$(CURDIR)/libv8-$(SONAME).so $(CURDIR)/tools/test.py --progress=verbose --snapshot --no-build cctest mjsunit message arch=$(v8arch))
+ $(exp-relax-check)$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,LD_PRELOAD=$(CURDIR)/libv8-$(SONAME).so $(CURDIR)/tools/test.py --progress=verbose --snapshot --no-build mjsunit message arch=$(v8arch))
common-install-impl::
cd debian/tmp/usr/lib/ ; \

0 comments on commit 6ca36b8

Please sign in to comment.