Branch: Tag:

2004-07-04

2004-07-04 12:54:46 by Martin Stjernholm <mast@lysator.liu.se>

Just because we're compiling with valgrind support doesn't necessarily
mean that we want to run the testsuite inside valgrind. There are now
valgrind_verify and valgrind_just_verify targets analogous to the
normal verify targets.

Rev: src/Makefile.in:1.383

1:   # - # $Id: Makefile.in,v 1.382 2004/05/01 13:46:31 mast Exp $ + # $Id: Makefile.in,v 1.383 2004/07/04 12:54:46 mast Exp $   #      # This line is needed on some machines.
551:    else args="$(TESTARGS)" ; fi; \    $(RUNPIKE) $(TMP_BINDIR)/test_pike.pike $$args    - valgrind_verify: testsuites testsuite master-stamp + valgrind_just_verify: testsuites testsuite master-stamp    if test "x$(TESTARGS)" = x ; then args="-F -a -v" ; \    else args="$(TESTARGS)" ; fi; \    $(VALGRIND) $(VALGRINDARGS) $(RUNPIKE) $(TMP_BINDIR)/test_pike.pike $$args
596:    if test "$(TESTARGS)" = "" ; then args="-F -a -v" ; else \    args="$(TESTARGS)" ; fi; \    if test -f ./test-pike ; then \ +  ./test-pike -DNOT_INSTALLED $(PIKEOPTS) $(TMP_BINDIR)/test_pike.pike $$args ; \ +  else \ +  sprsh `pwd`/test-install/pike/*/bin/pike.exe -DNOT_INSTALLED $(PIKEOPTS) $(TMP_BINDIR)/test_pike.pike $$args ; \ +  fi +  + valgrind_verify: testsuites testsuite tinstall +  PIKE_MODULE_PATH=""; PIKE_INCLUDE_PATH=""; \ +  if test "$(TESTARGS)" = "" ; then args="-F -a -v" ; else \ +  args="$(TESTARGS)" ; fi; \ +  if test -f ./test-pike ; then \    $(VALGRIND) $(VALGRINDARGS) ./test-pike -DNOT_INSTALLED $(PIKEOPTS) $(TMP_BINDIR)/test_pike.pike $$args ; \    else \    sprsh `pwd`/test-install/pike/*/bin/pike.exe -DNOT_INSTALLED $(PIKEOPTS) $(TMP_BINDIR)/test_pike.pike $$args ; \