[LTP] [PATCH] [RFC] tst_test: Add support for array of test functions

Jan Stancek jstancek@redhat.com
Tue Oct 3 09:58:17 CEST 2017



----- Original Message -----
> This commits add third option for specifying the test functions in an
> NULL terminated array of function pointers + converts two testcases.

Hi,

What would be the benefits?

- it's almost same amount of code
- it makes tst_test interface bit more complicated
- as a user I'd probably go with test_all(), since it's most straight-forward
- if those test funcs have parameter other than void, you still need
  to use the old way

Regards,
Jan


More information about the ltp mailing list