-
Notifications
You must be signed in to change notification settings - Fork 49
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
test[next]: check for DaCe dependency in test execution #1336
Conversation
This reverts commit b2691f5.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did a very quick review but it looks almost ready. Have some comments and questions (mostly about code style).
tests/next_tests/integration_tests/feature_tests/ffront_tests/ffront_test_utils.py
Outdated
Show resolved
Hide resolved
src/gt4py/next/program_processors/runners/dace_iterator/__init__.py
Outdated
Show resolved
Hide resolved
cscs-ci run |
2 similar comments
cscs-ci run |
cscs-ci run |
tests/next_tests/integration_tests/multi_feature_tests/iterator_tests/test_fvm_nabla.py
Outdated
Show resolved
Hide resolved
@egparedes I have added the ADR and removed the duplicated fixture for ATLAS tables. Also tested with Spack on Daint. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks very good. Thanks for adding all the new pytest markers.
Expanding the pytest fixture for unit tests with markers to exclude tests based on feature support in the selected backend. In addition, a check is added to the DaCe backend so that tests are skipped if dace module is not installed. This is required for Spack build of icon4py, which uses the base installation of gt4py, where dace module is optional.
Expanding the pytest fixture for unit tests with markers to exclude tests based on feature support in the selected backend. In addition, a check is added to the DaCe backend so that tests are skipped if dace module is not installed. This is required for Spack build of icon4py, which uses the base installation of gt4py, where dace module is optional.
Description
This code change will check if the DaCe module is available in the python environment. If not available, the DaCe backend is skipped in test execution.
Requirements
N/A