Re: [PATCH v2 1/2] selftests/dmabuf-heap: conform test to TAP format output

2024-03-01 Thread Muhammad Usama Anjum
On 2/29/24 10:36 PM, T.J. Mercier wrote: > On Thu, Feb 29, 2024 at 1:14 AM Muhammad Usama Anjum > wrote: >> >> On 2/28/24 11:47 PM, T.J. Mercier wrote: >>> On Wed, Feb 28, 2024 at 3:46 AM Muhammad Usama Anjum >>> wrote: On 2/27/24 10:18 PM, T.J. Mercier wrote: > On Tue, Feb 27,

Re: [PATCH v2 1/2] selftests/dmabuf-heap: conform test to TAP format output

2024-02-29 Thread T.J. Mercier
On Thu, Feb 29, 2024 at 1:14 AM Muhammad Usama Anjum wrote: > > On 2/28/24 11:47 PM, T.J. Mercier wrote: > > On Wed, Feb 28, 2024 at 3:46 AM Muhammad Usama Anjum > > wrote: > >> > >> On 2/27/24 10:18 PM, T.J. Mercier wrote: > >>> On Tue, Feb 27, 2024 at 4:21 AM Muhammad Usama Anjum > >>> wrote:

Re: [PATCH v2 1/2] selftests/dmabuf-heap: conform test to TAP format output

2024-02-29 Thread T.J. Mercier
On Thu, Feb 29, 2024 at 1:03 AM Muhammad Usama Anjum wrote: > > On 2/28/24 11:51 PM, T.J. Mercier wrote: > > On Tue, Feb 27, 2024 at 4:21 AM Muhammad Usama Anjum > > wrote: > > > > .. > > > >> +static int numer_of_heaps(void) > >> +{ > >> + DIR *d = opendir(DEVPATH); > >> + struct

Re: [PATCH v2 1/2] selftests/dmabuf-heap: conform test to TAP format output

2024-02-29 Thread Muhammad Usama Anjum
On 2/28/24 11:47 PM, T.J. Mercier wrote: > On Wed, Feb 28, 2024 at 3:46 AM Muhammad Usama Anjum > wrote: >> >> On 2/27/24 10:18 PM, T.J. Mercier wrote: >>> On Tue, Feb 27, 2024 at 4:21 AM Muhammad Usama Anjum >>> wrote: Conform the layout, informational and status messages to TAP. No

Re: [PATCH v2 1/2] selftests/dmabuf-heap: conform test to TAP format output

2024-02-29 Thread Muhammad Usama Anjum
On 2/28/24 11:51 PM, T.J. Mercier wrote: > On Tue, Feb 27, 2024 at 4:21 AM Muhammad Usama Anjum > wrote: > > .. > >> +static int numer_of_heaps(void) >> +{ >> + DIR *d = opendir(DEVPATH); >> + struct dirent *dir; >> + int heaps = 0; >> + >> + while ((dir = readdir(d))) {

Re: [PATCH v2 1/2] selftests/dmabuf-heap: conform test to TAP format output

2024-02-28 Thread T.J. Mercier
On Tue, Feb 27, 2024 at 4:21 AM Muhammad Usama Anjum wrote: ... > +static int numer_of_heaps(void) > +{ > + DIR *d = opendir(DEVPATH); > + struct dirent *dir; > + int heaps = 0; > + > + while ((dir = readdir(d))) { > + if (!strncmp(dir->d_name, ".", 2)) > +

Re: [PATCH v2 1/2] selftests/dmabuf-heap: conform test to TAP format output

2024-02-28 Thread T.J. Mercier
On Wed, Feb 28, 2024 at 3:46 AM Muhammad Usama Anjum wrote: > > On 2/27/24 10:18 PM, T.J. Mercier wrote: > > On Tue, Feb 27, 2024 at 4:21 AM Muhammad Usama Anjum > > wrote: > >> > >> Conform the layout, informational and status messages to TAP. No > >> functional change is intended other than

Re: [PATCH v2 1/2] selftests/dmabuf-heap: conform test to TAP format output

2024-02-28 Thread Muhammad Usama Anjum
On 2/27/24 10:18 PM, T.J. Mercier wrote: > On Tue, Feb 27, 2024 at 4:21 AM Muhammad Usama Anjum > wrote: >> >> Conform the layout, informational and status messages to TAP. No >> functional change is intended other than the layout of output messages. >> >> Signed-off-by: Muhammad Usama Anjum >>

Re: [PATCH v2 1/2] selftests/dmabuf-heap: conform test to TAP format output

2024-02-27 Thread T.J. Mercier
On Tue, Feb 27, 2024 at 4:21 AM Muhammad Usama Anjum wrote: > > Conform the layout, informational and status messages to TAP. No > functional change is intended other than the layout of output messages. > > Signed-off-by: Muhammad Usama Anjum > --- > Changes since v1: > - Update some more error

[PATCH v2 1/2] selftests/dmabuf-heap: conform test to TAP format output

2024-02-27 Thread Muhammad Usama Anjum
Conform the layout, informational and status messages to TAP. No functional change is intended other than the layout of output messages. Signed-off-by: Muhammad Usama Anjum --- Changes since v1: - Update some more error handling code --- .../selftests/dmabuf-heaps/dmabuf-heap.c | 217