Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Valgrind tests (was: Re: Zsh: [7] + 23074 suspended (tty output))
- X-seq: zsh-workers 44523
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: <zsh-workers@xxxxxxx>
- Subject: Re: Valgrind tests (was: Re: Zsh: [7] + 23074 suspended (tty output))
- Date: Mon, 15 Jul 2019 09:54:36 +0100
- Cms-type: 201P
- Dkim-filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715085438euoutp02dfd1890f7f4b9a65cf906f212a6fc97f~xiLooDml00917809178euoutp02L
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563180878; bh=MkIEWC+nWSfu2xi5HYhNVrwwdF3+7jXSKJ1SDKJ3eqY=; h=Subject:From:To:Date:In-Reply-To:References:From; b=g8tejM87NBlqPJ7z1PgL1yr4IicfQt95RHaT3CRQEX5goDLdog8nqLz8uyiYccvca EnDPM+BFeHhXNMiiQz5WFkbWk0f9yC55WAoXt3G4BO7O0VRzOp1XIVWjH0Noq+8pp5 q/jF8uK2MIP9XCBXdE1oBQSmMzQCP/EMJPCGdABE=
- In-reply-to: <CAKc7PVDhBe0eK4ZD8P=JK3zBco53_aR_mw8HLcYj8T3u7GesMQ@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <ef42fe7f-4ecf-4dbc-cdb0-2d6e4cf27377@xk2c.de> <CAKc7PVAsJXv=jxcbrENM4LtcBkz86mbVe3WgCYBs6cwdEO=9hQ@mail.gmail.com> <1537195773.3258650.1510860136.6AA9F0BA@webmail.messagingengine.com> <CAKc7PVD0aoqenFzNeo-3HitqAtxi27-t=EcNQwc4=t57SYs0Hg@mail.gmail.com> <1537286139.1154549.1512322472.101174D6@webmail.messagingengine.com> <CAKc7PVDFnYkS4sX+==ivpyegO4t5TUh_752u6-x-bPV+bg1SPA@mail.gmail.com> <CAKc7PVC2w74BTFDgKk6iZswsdMov-ZHGGnMonvtdMedibiz-GQ@mail.gmail.com> <CAKc7PVAtxans-1pYsoMegzkJwfK2XZo0PwsFgGpjup3+nsd0GQ@mail.gmail.com> <CAKc7PVD5YnqH8S3s2DRe0Z_4HkT+HE0pci3OqayMrV=f89Mk4g@mail.gmail.com> <20190714063909.x2ndaxy2wpjksgxb@tarpaulin.shahaf.local2> <CGME20190714222159epcas1p160f619296c9940dd7f21c481ce5f9ed1@epcas1p1.samsung.com> <CAKc7PVDhBe0eK4ZD8P=JK3zBco53_aR_mw8HLcYj8T3u7GesMQ@mail.gmail.com>
On Mon, 2019-07-15 at 00:17 +0200, Sebastian Gniazdowski wrote:
> On Sun, 14 Jul 2019 at 08:39, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> Ok. I've waited 9 days and I'm afraid that the patch will get lost
> somewhere. I just want to say, that the thing isn't actually a patch.
> It's a tool that makes the current tests go through Valgrind. The
> patch that adds the 'VALGRIND=1' variable to the tests' Makefile is a
> +-2 lines patch. Therefore could someone else take a look? There's not
> much to review.
I don't mind the handler code changing, to make it easy to run tests
slightly different, but I'd prefer to add a more general mechanism
that's more like how the current system works...
This would mean running
make ZTST_handler=vruntests.zsh
or you can simply set that in the environment.
pws
diff --git a/Test/Makefile.in b/Test/Makefile.in
index 083df4942..09f37bf53 100644
--- a/Test/Makefile.in
+++ b/Test/Makefile.in
@@ -40,16 +40,21 @@ INSTALL = @INSTALL@
# ========== DEPENDENCIES FOR TESTING ==========
+# If ZTST_handler is not empty, run that instead of runtests.zsh.
+# It's assumed to be found in the source directory.
check test:
if test -n "$(DLLD)"; then \
cd $(dir_top) && DESTDIR= \
$(MAKE) MODDIR=`pwd`/$(subdir)/Modules install.modules > /dev/null; \
fi
+ if test -z "$$ZTST_handler"; then \
+ ZTST_handler=runtests.zsh; \
+ fi; \
if ZTST_testlist="`for f in $(sdir)/$(TESTNUM)*.ztst; \
do echo $$f; done`" \
ZTST_srcdir="$(sdir)" \
ZTST_exe=$(dir_top)/Src/zsh@EXEEXT@ \
- $(dir_top)/Src/zsh@EXEEXT@ +Z -f $(sdir)/runtests.zsh; then \
+ $(dir_top)/Src/zsh@EXEEXT@ +Z -f $(sdir)/$$ZTST_handler; then \
stat=0; \
else \
stat=1; \
Messages sorted by:
Reverse Date,
Date,
Thread,
Author