Summary:
Mac builds machines are limited due to their cost. This results in mac related build + unit tests taking 2-3x hours more than all the other build types.
Also the mac tests have a higher failure rate (avg 54 on mac vs 20 on other buids) due to the fact that tests are run at a high concurrency on the mac machines, differences in mac libraries like curl causing random failures.
With this change only a selective set of Mac tests will be executed as part of Detective. New tests can be added to `mac_tests.txt` to whitelist them for mac builds.
Setting env variable `YB_RUN_ALL_MAC_TESTS` to `1` will bypass the filter and run all mac tests.
Fixes #28832
Jira: DB-18545
Test Plan: Jenkins: urgent
Reviewers: mihnea
Reviewed By: mihnea
Subscribers: ybase
Tags: #jenkins-ready
Differential Revision: https://phorge.dev.yugabyte.com/D46274