Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] Support executing manually-specified cpp tests for run_tests.…
…py (#6206) Issue: # After this PR, we're able to run user-specified cpp tests via `python tests/run_tests.py -cpp -k xxx`. Supports C-API tests, AOT tests and regular tests. 1. C-API tests: `python3 tests/run_tests.py --cpp -k CapiAotTest.*Field` ![2022-09-29 18-11-55 的屏幕截图](https://user-images.githubusercontent.com/22334008/193004897-49a424e9-fb1d-4b7d-80eb-c0efed23dd3c.png) 2. AOT tests: `python3 tests/run_tests.py --cpp -k LlvmAotTest.Cuda.*` ![2022-09-29 18-13-30 的屏幕截图](https://user-images.githubusercontent.com/22334008/193005217-9ebeebc0-20fc-449a-9f0a-7753e2e14af5.png) 3. Regular cpp tests: `python3 tests/run_tests.py --cpp -k Scalarize.*` ![2022-09-29 18-14-25 的屏幕截图](https://user-images.githubusercontent.com/22334008/193005385-35d7a55e-0d52-46d8-a292-5cad8fece754.png)
- Loading branch information