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

Cyril Hrubis chrubis@suse.cz
Tue Oct 3 14:59:58 CEST 2017


Hi!
> What would be the benefits?

I was aiming to avoid the need to have a switch () in each testcase that
implements a similar tests but cannot be easily data driven (as we do
for most of tests that loop over an array of structures describing the
test data).

The question is, of course, if the interface is worth the effort.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list