Re: [PATCH] selftest: hugetlb_dio: Fix test naming

2024-11-28 Thread Donet Tom
On 11/28/24 18:14, Mark Brown wrote: On Thu, Nov 28, 2024 at 10:46:56AM +0530, Donet Tom wrote: On 11/27/24 21:44, Mark Brown wrote: + ksft_test_result(free_hpage_a == free_hpage_b, +"free huge pages from %u-%u\n", start_off, end_off); This test allocates a huge

Re: [PATCH] selftest: hugetlb_dio: Fix test naming

2024-11-28 Thread Mark Brown
On Thu, Nov 28, 2024 at 10:46:56AM +0530, Donet Tom wrote: > On 11/27/24 21:44, Mark Brown wrote: > > + ksft_test_result(free_hpage_a == free_hpage_b, > > +"free huge pages from %u-%u\n", start_off, end_off); > This test allocates a hugetlb buffer and adjusts the start and e

Re: [PATCH] selftest: hugetlb_dio: Fix test naming

2024-11-27 Thread Muhammad Usama Anjum
On 11/27/24 9:14 PM, Mark Brown wrote: > The string logged when a test passes or fails is used by the selftest > framework to identify which test is being reported. The hugetlb_dio test > not only uses the same strings for every test that is run but it also uses > different strings for test passes

Re: [PATCH] selftest: hugetlb_dio: Fix test naming

2024-11-27 Thread Donet Tom
On 11/27/24 21:44, Mark Brown wrote: The string logged when a test passes or fails is used by the selftest framework to identify which test is being reported. The hugetlb_dio test not only uses the same strings for every test that is run but it also uses different strings for test passes and fa

[PATCH] selftest: hugetlb_dio: Fix test naming

2024-11-27 Thread Mark Brown
The string logged when a test passes or fails is used by the selftest framework to identify which test is being reported. The hugetlb_dio test not only uses the same strings for every test that is run but it also uses different strings for test passes and failures which means that test automation i