[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAP4=nvSf=iBs-nLQj3RVm+xeQyh6_5++qeb0+M4W=0Pqzcu6bw@mail.gmail.com>
Date: Tue, 22 Apr 2025 12:04:42 +0200
From: Tomas Glozar <tglozar@...hat.com>
To: Costa Shulyupin <costa.shul@...hat.com>
Cc: Steven Rostedt <rostedt@...dmis.org>, Daniel Bristot de Oliveira <bristot@...nel.org>,
John Kacur <jkacur@...hat.com>, "Luis Claudio R. Goncalves" <lgoncalv@...hat.com>,
Eder Zulian <ezulian@...hat.com>, Dan Carpenter <dan.carpenter@...aro.org>,
Jan Stancek <jstancek@...hat.com>, linux-trace-kernel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] rtla: Set distinctive exit value for failed tests
čt 17. 4. 2025 v 20:58 odesílatel Costa Shulyupin
<costa.shul@...hat.com> napsal:
>
> A test is considered failed when a sample trace exceeds the threshold.
> Failed tests return the same exit code as passed tests, requiring test
> frameworks to determine the result by searching for "hit stop tracing"
> in the output.
>
> Assign a distinct exit code for failed tests to enable the use of shell
> expressions and seamless integration with testing frameworks without the
> need to parse output.
>
> Add enum type for return value.
>
> Update `make check`.
>
> Signed-off-by: Costa Shulyupin <costa.shul@...hat.com>
>
> ---
> v2: Expanded the patch description as requested by Tomas
>
Thank you, looks good to me now.
Reviewed-by: Tomas Glozar <tglozar@...hat.com>
Tomas
Powered by blists - more mailing lists