Skip to content

Conversation

@teojgo
Copy link
Contributor

@teojgo teojgo commented Aug 4, 2018

  • Adapt to new test syntax.

  • Reformat to be consistent with the coding style of ReFrame.

Fixes #384

* Adapt the scalapack tests to use the build systems.

* Adapt to new test syntax.
@teojgo teojgo self-assigned this Aug 4, 2018
@teojgo teojgo requested a review from vkarak August 4, 2018 19:06
@teojgo teojgo changed the title Adapt the scalapack tests to use build systems [test] Adapt the scalapack tests to use build systems Aug 4, 2018
super().__init__(name+linkage, os.path.dirname(__file__), **kwargs)

class ScaLAPACKTest(rfm.RegressionTest):
def __init__(self, name, linkage):
Copy link
Contributor

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
Copy link
Contributor

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']

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this line.

@codecov-io
Copy link

Codecov Report

Merging #417 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #417   +/-   ##
======================================
  Coverage    91.2%   91.2%           
======================================
  Files          70      70           
  Lines        8582    8582           
======================================
  Hits         7827    7827           
  Misses        755     755

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b53af13...3af1964. Read the comment docs.

@vkarak vkarak merged commit 1361c25 into reframe-hpc:master Aug 10, 2018
@teojgo teojgo deleted the regression_test/scalapack_buildsystems branch September 6, 2018 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants