Skip to content

Conversation

@vkarak
Copy link
Contributor

@vkarak vkarak commented Oct 12, 2020

This PR renders the name configuration parameter of the file log handler optional and sets the default location to be in the system's temporary directory. The behaviour of the framework with the current configuration files that set the name parameter is not affected.

Documentation and the tutorials are also updated.

This PR allows the parallelization of the unit tests as discussed in #134.

Fixes #1177.

Vasileios Karakasis added 2 commits October 12, 2020 18:06
- Make `name` file log handler parameter optional that defaults to a temporary
  file.
@vkarak vkarak added this to the ReFrame sprint 20.15 milestone Oct 12, 2020
@vkarak vkarak requested review from ekouts, teojgo and victorusu October 12, 2020 19:53
@vkarak vkarak self-assigned this Oct 12, 2020
@vkarak vkarak changed the title [feat] Set default location for log files to be the system's temporary directory [feat] Set the default location for log files to be the system's temporary directory Oct 12, 2020
Copy link
Contributor

@ekouts ekouts left a comment

Choose a reason for hiding this comment

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

lgtm

@codecov-io
Copy link

Codecov Report

Merging #1531 into master will increase coverage by 0.00%.
The diff coverage is 93.33%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1531   +/-   ##
=======================================
  Coverage   87.90%   87.90%           
=======================================
  Files          43       43           
  Lines        6839     6848    +9     
=======================================
+ Hits         6012     6020    +8     
- Misses        827      828    +1     
Impacted Files Coverage Δ
reframe/core/schedulers/__init__.py 97.72% <ø> (ø)
reframe/core/settings.py 100.00% <ø> (ø)
reframe/frontend/cli.py 79.61% <83.33%> (+<0.01%) ⬆️
reframe/core/logging.py 83.59% <100.00%> (+0.20%) ⬆️

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 c3a273e...fc2b1b2. Read the comment docs.

@vkarak vkarak merged commit 34f1d81 into reframe-hpc:master Oct 13, 2020
@vkarak vkarak deleted the feat/logfile-tmpdir branch October 13, 2020 22:34
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.

Change default location of the log file to $TMPDIR

4 participants