tests/platforms: trying to properly detect failures on platform-add