oktetlabs / test-environment

OKTET Labs Test Environment
Other
5 stars 10 forks source link

TS-provided Configurator subtrees #45

Open okt-galaktionov opened 2 months ago

okt-galaktionov commented 2 months ago

The minimal set of changes required to allow test suites to register their own Configurator subtrees.

PCH nodes can be registered by ELF constructors added to the Unix Test Agent by linking an external library provided by a test suite.

Testing done: these changes have been successfully used to implement additional TA functionality in one of our test suites

ol-alexandra commented 2 months ago

Testing done: these changes have been successfully used to implement additional TA functionality in one of our test suites

Please provide some documentation for this new feature. A link to the TS (if it is public) is also welcome. It the TS is public, then possibly a link to the patches is just enough. But we need some documentation in some form.

okt-galaktionov commented 2 months ago

The TS isn't public, I'm afraid. I can provide a patch that implements a basic example in selftest, would this work and would it be enough?

ol-alexandra commented 2 months ago

The TS isn't public, I'm afraid. I can provide a patch that implements a basic example in selftest, would this work and would it be enough?

Yes, definitely!