[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix buglet in code searching for a good shell (tests/init.sh
From: |
Ralf Wildenhues |
Subject: |
Re: [PATCH] Fix buglet in code searching for a good shell (tests/init.sh). |
Date: |
Fri, 11 Jun 2010 18:52:07 +0200 |
User-agent: |
Mutt/1.5.20 (2009-10-28) |
Hi Jim,
* Jim Meyering wrote on Fri, Jun 11, 2010 at 01:49:35PM CEST:
> +warn_() { echo "$@" 1>&$stderr_fileno_; }
> +fail_() { warn_ "$ME_: failed test: $@"; Exit 1; }
> +skip_() { warn_ "$ME_: skipped test: $@"; Exit 77; }
> +framework_failure_() { warn_ "$ME_: set-up failure: $@"; Exit 1; }
You may want to Exit 99 for a framework failure. The Automake
parallel-tests interprets that as an unexpected failure even if
the test is listed in XFAIL_TESTS. (The old test driver didn't
and doesn't do that.)
Cheers,
Ralf