Skip to content

Make the @required_version decorator a built-in #1797

@vkarak

Description

@vkarak

The @required_version decorator is an interesting tool to have ReFrame skip incompatible tests. Although we currently don't use it so much, it will become more relevant when we start creating test libraries and tests may be run by different ReFrame versions that may or may not support some features that the test require. The problem with the decorator now is that it is executed too late, i.e., after the class creation, so we couldn't capture features like the pipeline hooks when they were added. Therefore, I suggest making a built-in, such as the variable() and parameter(), which execute even before the class body is executed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions