Skip to content

Allow optional arguments of file and line for the unit tester abort#77

Merged
billsacks merged 1 commit intoESCOMP:mainfrom
ekluzek:add_unittest_abort_file_and_line
Nov 11, 2025
Merged

Allow optional arguments of file and line for the unit tester abort#77
billsacks merged 1 commit intoESCOMP:mainfrom
ekluzek:add_unittest_abort_file_and_line

Conversation

@ekluzek
Copy link
Contributor

@ekluzek ekluzek commented Nov 11, 2025

Add optional arguments for file and line for the unit-tester shr_abort_abort, so that it matches the interface to the main shr_abort_abort.

Nothing is done with the arguments, but allowing them to be passed allows code that uses them to have unittests for it.

Fixes #74

…o that it matches the interface to the main version
@ekluzek ekluzek requested a review from billsacks November 11, 2025 17:39
@ekluzek ekluzek added enhancement New feature or request Responsibility: CTSM Responsibility to manage and accomplish this issue is the CTSM Software group labels Nov 11, 2025
@ekluzek
Copy link
Contributor Author

ekluzek commented Nov 11, 2025

This is tested in the unit tests for this CTSM PR.

ESCOMP/CTSM#3561

Copy link
Member

@billsacks billsacks left a comment

Choose a reason for hiding this comment

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

Thanks!

@billsacks billsacks merged commit ec0475f into ESCOMP:main Nov 11, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Responsibility: CTSM Responsibility to manage and accomplish this issue is the CTSM Software group

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Add file and line optional arguments to unit-test shr_abort_abort version

2 participants