Skip to content

Use early exit to get auto-print output for 'main' branch#6021

Merged
MichaelChirico merged 6 commits intomasterfrom
test-exit
Apr 3, 2024
Merged

Use early exit to get auto-print output for 'main' branch#6021
MichaelChirico merged 6 commits intomasterfrom
test-exit

Conversation

@MichaelChirico
Copy link
Copy Markdown
Member

Noticed in #5971 (comment) that we appear to be missing some output because the failure happens inside if()... ➡️ auto-print doesn't do anything.

We should prefer auto-print to happen in the "main" execution path for these scripts (i.e. the one that runs on CRAN by default), so here I re-arranged the branches to get this to happen.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.53%. Comparing base (096b20f) to head (01449d0).
Report is 1 commits behind head on master.

❗ Current head 01449d0 differs from pull request most recent head a6b2155. Consider uploading reports for the commit a6b2155 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6021      +/-   ##
==========================================
- Coverage   97.53%   97.53%   -0.01%     
==========================================
  Files          80       80              
  Lines       14916    14915       -1     
==========================================
- Hits        14548    14547       -1     
  Misses        368      368              

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

This was referenced Mar 25, 2024
@MichaelChirico MichaelChirico merged commit 9d73cf2 into master Apr 3, 2024
@MichaelChirico MichaelChirico deleted the test-exit branch April 3, 2024 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants