Some API changes and (upcoming) patches to automate the testing of Pd-l2ork externals.
"External tests" might be a bit of a misnomer as the tools should be usable for testing internal classes as well.
Ideally, the tests would do the following:
[switch~]
(probably want to check against known good state, too, but that may create a lot of state)The nice thing is that we can use a nonzero arg to "menuquit" in order to signal to CI that there was a failure in any of these steps.
This will allow us to more easily make changes to the codebase. Not only external libraries but also the build system and core, as any soft failures (of which there are many in the build system) that screw up something in an external lib will (eventually) trigger a hard failure in this test framework.
Difficulties
[classinfo]
and thus skip these. (Not sure what to do about "helper" methods, though.