On Sat, 17 Jan 2026 13:03:22 -0800 [email protected] wrote: > +/* Main test function that runs all subtests */ > +static int > +test_ptr_add_sub(void) > +{ > + int ret; > + > + ret = test_ptr_add_sub_integer_types(); > + if (ret != 0) > + return ret; > + > + ret = test_ptr_add_sub_pointer_types(); > + if (ret != 0) > + return ret; > + > + return 0; > +} > +
Ok, but if you add more tests consider using the unit_test_runner() in test.h. Mainly because it makes it easier to pinpoint which subtest is failing in a big test.

