Bug 677433: Run valgrind jit-tests during |make check| (r=nnethercote)
--- a/js/src/Makefile.in
+++ b/js/src/Makefile.in
@@ -683,24 +683,19 @@ check-malloc-function-usage: $(filter-ou
ifneq ($(OS_ARCH),WINNT) # FIXME: this should be made work on Windows too.
check:: check-malloc-function-usage
endif
JITFLAGS = ,m,j,mj,mjp,am,amj,amjp,amd
check-jit-test::
$(wildcard $(RUN_TEST_PROGRAM)) $(PYTHON) -u $(srcdir)/jit-test/jit_test.py \
- --no-slow --no-progress --tinderbox --jitflags=$(JITFLAGS) $(DIST)/bin/js$(BIN_SUFFIX)
-
-check-jit-test-valgrind::
- $(wildcard $(RUN_TEST_PROGRAM)) $(PYTHON) -u $(srcdir)/jit-test/jit_test.py \
--valgrind --no-slow --no-progress --tinderbox --jitflags=$(JITFLAGS) $(DIST)/bin/js$(BIN_SUFFIX)
check:: check-jit-test
-check-valgrind:: check-jit-test-valgrind
# jstests doesn't have a --jitflags option, so we need to loop, updating the
# exit code (RC) after each invocation.
# FIXME: MethodJIT doesn't work for 1 test case (bug 644393), so
# --no-extensions is set to skip that test. Remove as soon as possible.
check-jstests:
RC=0; \
for f in `echo "$(JITFLAGS)" | tr ',' '\n'`; \