[DTrace-devel] [PATCH] test: Fail if the postprocessor fails
Kris Van Hees
kris.van.hees at oracle.com
Tue May 23 04:46:12 UTC 2023
On Sat, Mar 11, 2023 at 12:32:20PM -0500, eugene.loh--- via DTrace-devel wrote:
> From: Eugene Loh <eugene.loh at oracle.com>
>
> Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>
> ---
> runtest.sh | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/runtest.sh b/runtest.sh
> index bc7e6c1a..75a6a90f 100755
> --- a/runtest.sh
> +++ b/runtest.sh
> @@ -1343,6 +1343,7 @@ for dt in $dtrace; do
>
> if ! postprocess $base.r.p $testout $tmpdir/test.out; then
> testmsg="results postprocessor failed with exitcode $?"
> + fail=t
> fi
>
> rm -f $testerr
> --
> 2.18.4
>
>
> _______________________________________________
> DTrace-devel mailing list
> DTrace-devel at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/dtrace-devel
More information about the DTrace-devel
mailing list