correct filename issue for test_cpp_extensions_aot (#60604)
Summary:
Using file copy to make actual ninja vs. no_ninja suffixed python test files.
This is to trick xmlrunner to report test cases in the correct folder.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/60604
Test Plan:
- CI reports correctly into the corresponding folders
- If download the test statistics, calculate shards now doesn't need custom logic to handle `test_cpp_extensions_aot`
CI result shown it is working properly:
https://github.com/pytorch/pytorch/pull/60604/checks?check_run_id=2900038654 vs
https://github.com/pytorch/pytorch/pull/60604/checks?check_run_id=2900038673
Reviewed By: albanD
Differential Revision: D29349562
Pulled By: walterddr
fbshipit-source-id: e86e6bc0db288a2a57bea3c5f8edf03be1773944
Author
Rong Rong (AI Infra)