public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: mornfall@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/test harness.c Date: Tue, 13 Apr 2010 07:33:00 -0000 [thread overview] Message-ID: <20100413073335.21140.qmail@sourceware.org> (raw) CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: mornfall@sourceware.org 2010-04-13 07:33:34 Modified files: test : harness.c Log message: Optionally disable the verbose repeat of a failed test (export LVM_TEST_NOVERBOSE=1). Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/harness.c.diff?cvsroot=lvm2&r1=1.8&r2=1.9 --- LVM2/test/harness.c 2010/04/07 09:48:11 1.8 +++ LVM2/test/harness.c 2010/04/13 07:33:34 1.9 @@ -133,6 +133,7 @@ int main(int argc, char **argv) { int i; + int repeat = getenv("LVM_TEST_NOVERBOSE") ? 0 : 1; if (argc >= MAX) { fprintf(stderr, "Sorry, my head exploded. Please increase MAX.\n"); @@ -168,7 +169,7 @@ run(i, argv[i]); if (die) break; - if ( s.status[i] == FAILED ) { + if ( repeat && s.status[i] == FAILED ) { backup = s; setenv("LVM_TEST_CONFIG", config_debug, 1); run(i, argv[i]);
next reply other threads:[~2010-04-13 7:33 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-04-13 7:33 mornfall [this message] -- strict thread matches above, loose matches on Subject: below -- 2010-04-13 7:34 mornfall 2010-04-07 9:48 mornfall 2010-04-07 9:41 mornfall 2010-03-31 23:11 mornfall 2009-02-17 19:36 mornfall 2009-02-16 16:49 mornfall
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20100413073335.21140.qmail@sourceware.org \ --to=mornfall@sourceware.org \ --cc=lvm-devel@redhat.com \ --cc=lvm2-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).