Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom cmake test wrapper which can get gtest_parallel and run a single-binary test with custom regexp #3132

Open
CAHEK7 opened this issue Jul 23, 2024 · 0 comments
Labels

Comments

@CAHEK7
Copy link
Contributor

CAHEK7 commented Jul 23, 2024

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:

  1. generate custom regexp based on the input test configuration:
    • MIOPEN_TEST_ALL maps to Full tests if enabled and to Smoke otherwise
    • 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 Full testsuite
    • 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
  2. 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)
  3. add an ability to download gtest_parallel and use it to run custom regexp tests in parallel

It blocks #3134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant