MIOpen
MIOpen copied to clipboard
Add custom cmake test wrapper which can get gtest_parallel and run a single-binary test with custom regexp
In order to switch to a new test invocation scheme, described on the wiki, the current cmake test wrapper should be updated with the following functionality:
- generate custom regexp based on the input test configuration:
- MIOPEN_TEST_ALL maps to
Fulltests if enabled and toSmokeotherwise - MIOPEN_TEST_FLOAT_ARG maps to a proper test datatype suffix
- DBSYNC maps into a CPU testsuite together with the other host-based tests, actually should be removed and a new pure CPU CI stage must be added
- CODECOV_TEST seems to be abandoned, but actually must be removed and incorporated into
Fulltestsuite - Explicit MLIR and COMPOSABLEKERNELS must be included into the naming scheme on the wiki and properly handled.
- MIOPEN_TEST_DEEPBENCH, MIOPEN_TEST_CONV, MIOPEN_TEST_WITH_MIOPENDRIVER and MIOPEN_DEBUG_TUNING_ITERATIONS_MAX should be removed, since nobody ever sets them
- MIOPEN_TEST_ALL maps to
- add an ability to run the tests based on custom regexp and without passing any environmental values to the tests (implies MIOPEN_TEST_DISCRETE is off and using a single test binary)
- add an ability to download gtest_parallel and use it to run custom regexp tests in parallel
It blocks #3134