[LTP] Rename tst_test_* to tst_require_*

Petr Vorel pvorel@suse.cz
Fri Oct 11 16:00:16 CEST 2019


Hi,

> > If we use needs or require ? Hard question - when I search for synonyms
> > from one or the other, I don't see a big different. Without looking on
> > the impact, require sounds also more descriptive.

> There is about thousand of uses of *NEEDS_FOO and *needs_foo in the new
> library tests, so renaming to tst_needs_foo would be the least painful.
+1.

Sorry for starting such a big discussion just about API naming.
I care about these things, because good docs and consistent API are less
important than good quality code, but helps new users.

Thank you for all your input, I agree with points other raised, but getting it
right would be to intrusive change (touching every test is a bit too much).

Kind regards,
Petr


More information about the ltp mailing list