Skip to content

Conversation

@vkarak
Copy link
Contributor

@vkarak vkarak commented Jun 4, 2019

  • This is a necessary step for running interdependent tests with the
    serial execution policy.
  • This commit adds also an implementation of an ordered set.
    This data structure is quite useful in several contexts and is indeed
    used extensively in implementing the test dependencies. Its
    implementation is based on an OrderedDict, but it provides the
    complete Set and MutableSet interfaces.

Fixes UES-284.

- This is a necessary step for running interdependent tests with the
  serial execution policy.
- This commit adds also an implementation of an ordered set.
  This data structure is quite useful in several contexts and is indeed
  used extensively in implementing the test dependencies. Its
  implementation is based on an `OrderedDict`, but it provides the
  complete `Set` and `MutableSet` interfaces.
@vkarak vkarak added this to the ReFrame sprint 2019w22 milestone Jun 4, 2019
@vkarak vkarak requested review from teojgo and victorusu June 4, 2019 22:34
@vkarak vkarak self-assigned this Jun 4, 2019
@pep8speaks
Copy link

pep8speaks commented Jun 4, 2019

Hello @vkarak, Thank you for updating!

Cheers! There are no PEP8 issues in this Pull Request!Do see the ReFrame Coding Style Guide

Comment last updated at 2019-06-12 18:10:36 UTC

Copy link
Contributor

@victorusu victorusu left a comment

Choose a reason for hiding this comment

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

Looks fabulous to me.

@vkarak
Copy link
Contributor Author

vkarak commented Jun 5, 2019

I have identified the problem with the unit tests on Python 3.5 and I will fix them.

Vasileios Karakasis added 3 commits June 6, 2019 00:28
- The algorithm wasn't checking that the next node picked for visiting
  was already visited. Thus, it was not producing a valid ordering.
- Updated unit tests to check any possible ordering of the cases.
@codecov-io
Copy link

codecov-io commented Jun 6, 2019

Codecov Report

Merging #815 into master will increase coverage by 0.03%.
The diff coverage is 94.11%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #815      +/-   ##
==========================================
+ Coverage   91.83%   91.87%   +0.03%     
==========================================
  Files          80       80              
  Lines        9982    10277     +295     
==========================================
+ Hits         9167     9442     +275     
- Misses        815      835      +20
Impacted Files Coverage Δ
reframe/frontend/dependency.py 97.52% <100%> (+1.63%) ⬆️
unittests/test_utility.py 99.18% <100%> (+0.14%) ⬆️
unittests/test_policies.py 98.72% <100%> (+0.12%) ⬆️
unittests/test_typecheck.py 100% <100%> (ø) ⬆️
reframe/utility/__init__.py 89.36% <84.07%> (-3.19%) ⬇️
reframe/core/config.py 84.07% <0%> (-1.77%) ⬇️

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 2327265...af90b02. Read the comment docs.

@vkarak
Copy link
Contributor Author

vkarak commented Jun 12, 2019

@jenkins-cscs retry none

@vkarak vkarak merged commit aa90cf2 into reframe-hpc:master Jun 12, 2019
@vkarak vkarak deleted the feat/toposort-testcases branch June 12, 2019 18:16
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.

5 participants