tests: Enable DXC tests on macOS again (part 3/3).
These two commits, together with !1517 (merged) already merged, should finally allow us to enable DXC tests on macOS again. Unfortunately the macOS runner is currently on extended strike, so I'm postponing re-enabling that bit until that can be tested.
Edited by Giovanni Mascellani