Skip to content

change logic of how build scripts are run#1670

Merged
shahzebsiddiqui merged 4 commits intodevelfrom
fix_logic_buildscript
Nov 21, 2023
Merged

change logic of how build scripts are run#1670
shahzebsiddiqui merged 4 commits intodevelfrom
fix_logic_buildscript

Conversation

@shahzebsiddiqui
Copy link
Member

This PR will change the following.

  1. All test will be invoked with bash without any options when executing the buildscript. Previously the build script was invoked with shell type for the executor along with defined shell options
  2. The run command in the build script that will execute the actual test will be using the shell type of the executor or the shell key defined in the buildspec. Any shell options specified in the executor or in buildspec will be passed to script as well.
  3. Remove unused variables and load method from the LocalExecutor class

…ild script will be invoked

with bash without any options by default. This is true for all executor types.

The generated run script will be invoked with corresponding shell type for the executor or the 'shell' property defined
in the buildspec. Additional options to shell will be taken into account as well
@codecov
Copy link

codecov bot commented Nov 20, 2023

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (20bcf9b) 79.02% compared to head (9ad6969) 78.89%.
Report is 42 commits behind head on devel.

Files Patch % Lines
buildtest/executors/setup.py 30.00% 7 Missing ⚠️
buildtest/executors/cobalt.py 0.00% 1 Missing ⚠️
buildtest/executors/lsf.py 0.00% 1 Missing ⚠️
buildtest/executors/pbs.py 0.00% 1 Missing ⚠️
buildtest/executors/slurm.py 0.00% 1 Missing ⚠️
buildtest/scheduler/slurm.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #1670      +/-   ##
==========================================
- Coverage   79.02%   78.89%   -0.13%     
==========================================
  Files          57       57              
  Lines        6605     6561      -44     
==========================================
- Hits         5219     5176      -43     
+ Misses       1386     1385       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shahzebsiddiqui shahzebsiddiqui merged commit 6806d37 into devel Nov 21, 2023
@shahzebsiddiqui shahzebsiddiqui deleted the fix_logic_buildscript branch November 21, 2023 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant