Print reason for test skipped in CI (#74451)
Summary:
Issue: https://github.com/pytorch/pytorch/issues/69014 (skip reason is not printed for tests running in CI)
Cause: locally tests are fired with testrunner that is built into unittest. When IN_CI env variable is true - tests are fired with xml test runner from unittest-xml-reporting. They have different summary printing properties
Solution: patching printing logic in unittest-xml-reporting when a test is skipped
Pull Request resolved: https://github.com/pytorch/pytorch/pull/74451
Test Plan: examine CI run
Reviewed By: janeyx99
Differential Revision: D35050675
Pulled By: tenpercent
fbshipit-source-id: e3421687d68932079ba156153abeefee368b2fb3
(cherry picked from commit e2356d8ecc618dad9c7c556d40b47c1a6c53f68a)