Skip to content

Conversation

@teojgo
Copy link
Contributor

@teojgo teojgo commented Feb 4, 2020

  • Duplicate check path is not added many times to the load path.

  • If the recursive option is passed, only the parent path of the
    checkpaths is used in the load path.

  • Create the corresponding unit tests.

Fixes #1119

* Duplicate check path is not added many times to the load path.

* If the recursive option is passed, only the parent path of the
checkpaths is used in the load path.

* Create the corresponding unit tests.
@teojgo teojgo added this to the ReFrame sprint 20.01 milestone Feb 4, 2020
@teojgo teojgo requested review from victorusu and vkarak February 4, 2020 14:15
@teojgo teojgo self-assigned this Feb 4, 2020
@vkarak vkarak changed the title [bugfix] Fix failure when duplicate check paths are given [bugfix] Fix failure when check search path contains duplicates Feb 4, 2020
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.

lgtm. I just have one question that is very minor.

@vkarak
Copy link
Contributor

vkarak commented Feb 5, 2020

I have some comments on that one, I'll submit my review shortly.

* Create utility function return the list of unique paths.

* Address PR comments.
@codecov-io
Copy link

codecov-io commented Feb 5, 2020

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1152   +/-   ##
=======================================
  Coverage   92.02%   92.02%           
=======================================
  Files          81       81           
  Lines       11736    11736           
=======================================
  Hits        10800    10800           
  Misses        936      936

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 f218c17...6f43b19. Read the comment docs.

@vkarak vkarak merged commit 9358301 into reframe-hpc:master Feb 18, 2020
@teojgo teojgo deleted the bugfix/ignore_duplicated_paths branch February 19, 2020 14:54
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.

Duplicated check path leads to error

4 participants