-
Notifications
You must be signed in to change notification settings - Fork 117
Closed
Description
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.