|SUCCESS| sched: fix infinite loop in rational approximation
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Thu Nov 26 07:00:52 CET 2026
Test-Label: ai-code-review
Test-Status: SUCCESS
https://dpdk.org/patch/173187
_AI Code Review_
=== Patch Review: series.patch (via Claude) ===
Review date: 2026-11-26
One minor Info item; no Errors or Warnings.
**Info**
app/test/test_sched.c: the new assertion messages end in "\n", for example:
TEST_ASSERT_FAIL(err, "rte_approx accepted unrepresentable d\n");
The TEST_ASSERT_* macros in test.h already append a newline to the message, so these print a blank line after each failure. Dropping the trailing "\n" from the messages avoids that. Returning `TEST_SUCCESS` instead of `0` at the end of `test_sched_approx()` would also match the macro-based style. This is a cosmetic suggestion only.
Review-Result: CLEAN
More information about the test-report
mailing list