Re: [PATCH] selftests/harness: Prevent infinite loop due to Assert in FIXTURE_TEARDOWN

2024-03-26 Thread Shuah Khan
On 3/14/24 16:43, Shengyu Li wrote: This patch addresses an issue in the selftests/harness where an assertion within FIXTURE_TEARDOWN could trigger an infinite loop. The problem arises because the teardown procedure is meant to execute once, but the presence of failing assertions (ASSERT_EQ(0,

[PATCH] selftests/harness: Prevent infinite loop due to Assert in FIXTURE_TEARDOWN

2024-03-24 Thread Shengyu Li
This patch addresses an issue in the selftests/harness where an assertion within FIXTURE_TEARDOWN could trigger an infinite loop. The problem arises because the teardown procedure is meant to execute once, but the presence of failing assertions (ASSERT_EQ(0, 1)) leads to repeated attempts to ex

[PATCH] selftests/harness: Prevent infinite loop due to Assert in FIXTURE_TEARDOWN

2024-03-14 Thread Shengyu Li
This patch addresses an issue in the selftests/harness where an assertion within FIXTURE_TEARDOWN could trigger an infinite loop. The problem arises because the teardown procedure is meant to execute once, but the presence of failing assertions (ASSERT_EQ(0, 1)) leads to repeated attempts to exe