Skip to content

Commit

Permalink
Run only javascript tests, cctests being for development of v8 itself.
Browse files Browse the repository at this point in the history
  • Loading branch information
kapouer committed Apr 23, 2011
1 parent 5bb32ee commit 6ca36b8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -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)"

Expand All @@ -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/ ; \
Expand Down

0 comments on commit 6ca36b8

Please sign in to comment.