Skip to content

Conversation

@jgphpc
Copy link
Contributor

@jgphpc jgphpc commented Jan 26, 2021

Will fix #1679

@pep8speaks
Copy link

pep8speaks commented Jan 26, 2021

Hello @jgphpc, 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 2021-01-28 14:47:15 UTC

@codecov-io
Copy link

codecov-io commented Jan 26, 2021

Codecov Report

Merging #1716 (ea6f541) into master (391ef9e) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1716   +/-   ##
=======================================
  Coverage   87.30%   87.31%           
=======================================
  Files          46       46           
  Lines        7649     7653    +4     
=======================================
+ Hits         6678     6682    +4     
  Misses        971      971           
Impacted Files Coverage Δ
reframe/core/schedulers/local.py 95.79% <ø> (-0.07%) ⬇️
reframe/core/shell.py 95.45% <100.00%> (+0.45%) ⬆️

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 391ef9e...ea6f541. Read the comment docs.

@vkarak vkarak added this to the ReFrame sprint 21.02 milestone Jan 26, 2021
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.

I think this should be handled by the ShellScriptGenerator in reframe/core/shell.py. Then the callers will set it or not accordingly. Also I don't know if it makes more sense to create them always as executable (without being configurable). I don't see a reason why a job script would harm if it's executable.

@vkarak
Copy link
Contributor

vkarak commented Jan 28, 2021

I can fix this PR.

@vkarak
Copy link
Contributor

vkarak commented Jan 28, 2021

@jenkins-cscs retry dom

@vkarak vkarak changed the title [feat] Generate executable job.sh files [feat] Generate as executable any job scripts Jan 28, 2021
@vkarak vkarak changed the title [feat] Generate as executable any job scripts [feat] Set executable bit in generated job script files Jan 28, 2021
@vkarak vkarak merged commit a7f2050 into reframe-hpc:master Jan 28, 2021
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.

Generate executable _job.sh files

4 participants