Skip to content

Conversation

@teojgo
Copy link
Contributor

@teojgo teojgo commented Mar 6, 2019

  • Create the PerformanceError exception class when used
    the performance of a test is not within the reference values.
  • Modify the corresponding unittests to except a PerformanceError.
  • Refactor how exception messages are handled.

Closes #677

* Create the `PerformanceError` exception class when used
  the performance of a test is not within the reference values.

* Modify the corresponding unittests to except a `PerformanceError`.
@teojgo teojgo added this to the ReFrame sprint 2019w10 milestone Mar 6, 2019
@teojgo teojgo self-assigned this Mar 6, 2019
@teojgo teojgo requested a review from vkarak March 6, 2019 12:59
@teojgo
Copy link
Contributor Author

teojgo commented Mar 7, 2019

@jenkins-cscs retry all

@vkarak vkarak changed the title [bugfix] Raise 'PerformanceError' for performance failures [bugfix] Fix error message in case of performance errors Mar 7, 2019
@vkarak vkarak self-assigned this Mar 13, 2019
@vkarak
Copy link
Contributor

vkarak commented Mar 13, 2019

@teojgo I am taking over the changes for fixing how the error message prefixes are printed.

@teojgo
Copy link
Contributor Author

teojgo commented Mar 13, 2019

@vkarak good, I have pushed the reverted unittests so you can continue from there.

@vkarak
Copy link
Contributor

vkarak commented Mar 13, 2019

@teojgo Yep, I've took the changes already.

@vkarak
Copy link
Contributor

vkarak commented Mar 14, 2019

@jenkins-cscs retry daint

@codecov-io
Copy link

Codecov Report

Merging #704 into master will decrease coverage by 0.01%.
The diff coverage is 90.38%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #704      +/-   ##
==========================================
- Coverage   91.83%   91.82%   -0.02%     
==========================================
  Files          77       77              
  Lines        9494     9488       -6     
==========================================
- Hits         8719     8712       -7     
- Misses        775      776       +1
Impacted Files Coverage Δ
unittests/test_exceptions.py 98.79% <100%> (ø) ⬆️
reframe/utility/__init__.py 93.25% <100%> (ø) ⬆️
unittests/resources/checks/frontend_checks.py 99.15% <100%> (ø) ⬆️
reframe/core/pipeline.py 93.7% <100%> (+0.04%) ⬆️
unittests/test_pipeline.py 97.36% <100%> (ø) ⬆️
reframe/core/exceptions.py 82.03% <86.11%> (-1.92%) ⬇️

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 d2b34e3...359a779. Read the comment docs.

@vkarak vkarak merged commit 7fc04ea into reframe-hpc:master Mar 14, 2019
@teojgo teojgo deleted the bugfix/performance_error_exception branch March 21, 2019 12:03
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