Related to #335, and as a related alternative to what I was trying to do in #242;
Introduce runtime.ForMatrixVersion(major, minor uint8), which will fetch /client/versions and compare if the given version is compatible with any version given.
If not, skip the test.
This'd make it possible for complement to skip whole hosts of tests automatically if the server does not broadcast support for it.
It would also self-document the feature prescribing itself only for/after a certain matrix version, which would help with sorting through them at a later time.
In the future, it could also be possible to do the same for MSCs (via `unstable_features matching, and such)
Related to #335, and as a related alternative to what I was trying to do in #242;
Introduce
runtime.ForMatrixVersion(major, minor uint8), which will fetch/client/versionsand compare if the given version is compatible with any version given.If not, skip the test.
This'd make it possible for complement to skip whole hosts of tests automatically if the server does not broadcast support for it.
It would also self-document the feature prescribing itself only for/after a certain matrix version, which would help with sorting through them at a later time.
In the future, it could also be possible to do the same for MSCs (via `unstable_features matching, and such)