oktetlabs / test-environment

OKTET Labs Test Environment
Other
5 stars 9 forks source link

TS-provided Configurator subtrees #45

Open okt-galaktionov opened 1 month ago

okt-galaktionov commented 1 month 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 1 month 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 1 month 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 1 month 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!