In https://github.com/root-project/root/pull/20711/changes, in order to allow test to pass `if (minimal)` was used to turn off some of the test. However this is sub-optimal as: - the test might actually work if the user turn back on the required features and will lead to spurious failure if: - the test still fails if the user disable the required features without using `-Dminimal=ON`.