Skip to content

Conversation

@teojgo
Copy link
Contributor

@teojgo teojgo commented Sep 4, 2020

  • Catch the exception thrown in case git is not installed

  • Add a unittest

Fixes #1464

* Catch the exception thrown in case git is not installed

* Add a unittest
@teojgo teojgo added this to the ReFrame sprint 20.12 milestone Sep 4, 2020
@teojgo teojgo requested review from victorusu and vkarak September 4, 2020 08:06
@teojgo teojgo self-assigned this Sep 4, 2020
@codecov-commenter
Copy link

codecov-commenter commented Sep 4, 2020

Codecov Report

Merging #1472 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1472   +/-   ##
=======================================
  Coverage   91.71%   91.72%           
=======================================
  Files          82       82           
  Lines       12922    12924    +2     
=======================================
+ Hits        11852    11854    +2     
  Misses       1070     1070           
Impacted Files Coverage Δ
reframe/utility/os_ext.py 91.06% <100.00%> (ø)
unittests/test_utility.py 99.73% <100.00%> (+<0.01%) ⬆️

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 51e2a03...bc8bfb7. Read the comment docs.

Copy link
Contributor

@vkarak vkarak left a comment

Choose a reason for hiding this comment

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

Just a minor style comment.

Copy link
Contributor

@vkarak vkarak 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 changed the title [bugfix] Make 'git_repo_hash' work if git is not installed [bugfix] Fix crash when git is not available Sep 4, 2020
@vkarak vkarak merged commit 4582a82 into reframe-hpc:master Sep 4, 2020
@teojgo teojgo deleted the bugfix/no_git_on_system branch October 23, 2020 13:57
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.

dependence on git

3 participants