Re: [PATCH v12 06/11] iio: test: iio-test-format: add test case for decimal format

From: Andy Shevchenko

Date: Tue May 12 2026 - 14:14:26 EST


On Tue, May 12, 2026 at 06:02:22PM +0100, Rodrigo Alencar wrote:
> On 26/05/12 05:36PM, Andy Shevchenko wrote:
> > On Sun, May 10, 2026 at 01:42:24PM +0100, Rodrigo Alencar via B4 Relay wrote:

...

> > > + iio_val_s64_array_populate(24, values);
> >
> > You want to test this first...
> > I think the previous patch needs new test cases.
>
> This is no complex stuff.. those functions are straightforward and
> goes into accordance with what the format function does... which is
> the opposite, before populating the buffer. The assertion on the buffer
> content accounts for that behavior.

You never know what BE32 / BE64 architectures will give you...
(but okay, it's simple enough to check the implementation),

--
With Best Regards,
Andy Shevchenko