[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] testsuite: Add `verified_host_process` to verify exit status

From: Jose E. Marchesi
Subject: Re: [PATCH] testsuite: Add `verified_host_process` to verify exit status
Date: Mon, 16 Nov 2020 08:12:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hi Mohammad.

> 2020-11-16  Mohammad-Reza Nabipoor  <m.nabipoor@yahoo.com>
>       * testsuite/lib/poke.exp (verify_exit_status): New proc.
>       (verified_host_execute): Likewise.
>       * testsuite/poke.libpoke/libpoke.exp: Replace `host_execute` with
>       `verified_host_execute`.
>       * testsuite/poke.mi-json/mi-json.exp: Likewise.
> ---
> Hi, Jose.
> With this patch segfaults of tests will be considered as FAILURE!
> I copied the `verify_exit_status` from `gcc/gcc/testsuite/jit.dg/jit.exp`.
> I also change the `perror` to `fail` in 
> `testsuite/poke.{libpoke,mi-json}/*.exp`
> files.

This is OK for master.

But please add this line to poke.exp:
Copyright (C) Free Software Foundation.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]