Skip to content

Conversation

@vkarak
Copy link
Contributor

@vkarak vkarak commented Apr 2, 2021

I've also changed the automatic assignment of sourcesdir to None so as to avoid setting it so, in cases that the user has explicitly passed a directory that does not exist. For this one, I'm taking advantage of the default value that is being set by the variables.

Fixes #1869.

Also changed the automatic assignment of `sourcesdir` to `None` so as to avoid
setting it so, in cases that the user has explicitly passed a directory that
does not exist.
@vkarak vkarak added this to the ReFrame sprint 21.03.2 milestone Apr 2, 2021
@vkarak vkarak requested review from jjotero and victorusu April 2, 2021 15:15
@vkarak vkarak self-assigned this Apr 2, 2021
@codecov-io
Copy link

Codecov Report

Merging #1910 (e2ab962) into master (d0a3c53) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1910   +/-   ##
=======================================
  Coverage   87.90%   87.90%           
=======================================
  Files          49       49           
  Lines        8451     8451           
=======================================
  Hits         7429     7429           
  Misses       1022     1022           
Impacted Files Coverage Δ
reframe/core/pipeline.py 92.00% <100.00%> (ø)

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 d0a3c53...e2ab962. Read the comment docs.

@vkarak
Copy link
Contributor Author

vkarak commented Apr 2, 2021

@jenkins-cscs retry daint

Copy link
Contributor

@jjotero jjotero left a comment

Choose a reason for hiding this comment

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

lgtm

@vkarak vkarak merged commit 7eef1a8 into reframe-hpc:master Apr 2, 2021
@vkarak vkarak deleted the bugfix/sourcesdir-none branch April 2, 2021 16:19
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.

ReFrame crashes if sourcesdir is set to None in class body

3 participants