-
Notifications
You must be signed in to change notification settings - Fork 117
[test] Adapt the scalapack tests to use build systems #417
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] Adapt the scalapack tests to use build systems #417
Conversation
* Adapt the scalapack tests to use the build systems. * Adapt to new test syntax.
| super().__init__(name+linkage, os.path.dirname(__file__), **kwargs) | ||
|
|
||
| class ScaLAPACKTest(rfm.RegressionTest): | ||
| def __init__(self, name, linkage): |
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.
name is superfluous here. This is old style.
| class ScaLAPACKTest(rfm.RegressionTest): | ||
| def __init__(self, name, linkage): | ||
| super().__init__() | ||
| self.name = name + linkage |
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.
Why we don't like the automatically generated name?
| super().compile() | ||
| self.build_system = 'SingleSource' | ||
| self.build_system.fflags = ['-O3'] | ||
|
|
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.
Remove this line.
Codecov Report
@@ Coverage Diff @@
## master #417 +/- ##
======================================
Coverage 91.2% 91.2%
======================================
Files 70 70
Lines 8582 8582
======================================
Hits 7827 7827
Misses 755 755Continue to review full report at Codecov.
|
Adapt to new test syntax.
Reformat to be consistent with the coding style of ReFrame.
Fixes #384