Open
Conversation
- Update deps/c-testrunnerswitcher to master (adds PARAMETERIZED_TEST_FUNCTION support) - Refactor 3 gballoc_hl_malloc tests into 1 PARAMETERIZED_TEST_FUNCTION (varying alloc size and timer values) - Refactor 3 gballoc_hl_realloc NULL-ptr tests into 1 PARAMETERIZED_TEST_FUNCTION (varying alloc size) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…llback tests Refactor 8 identical notify event tests in async_socket_linux_ut.c into a single PARAMETERIZED_TEST_FUNCTION with 3 parameters (io_type, epoll_action, expected_result) and 8 cases. Refactor 6 identical on_file_io_complete_win32 callback tests in file_win32_ut.c into a single PARAMETERIZED_TEST_FUNCTION with 4 parameters (io_type, io_result, num_bytes_transferred, expected_success) and 6 cases. Net reduction: 333 lines removed, 26 added. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Author
Parameterized Test Conversion Review — PR #548Files with PARAMETERIZED_TEST_FUNCTION conversions1.
|
| File | TEST_FUNCTIONs affected |
|---|---|
common/tests/real_thandle_helper_ut/real_thandle_helper_ut.c |
thandle_test_helper_can_register_for_a_real_thandle, function_call_is_mocked_correctly |
common/tests/real_thandle_log_context_handle_ut/real_thandle_log_context_handle_ut.c |
thandle_ptr_log_context_handle_with_mocks |
linux/tests/linux_reals_ut/reals_linux_ut.c |
check_all_c_pal_reals |
win32/tests/reals_win32_ut/reals_win32_ut.c |
check_all_c_pal_reals |
These tests genuinely have no SRS requirements — they are infrastructure/sanity checks. Removing // no-srs without adding SRS comments leaves these tests without either marker. Consider keeping // no-srs or adding appropriate SRS comments, unless the convention is changing project-wide.
Summary
| Check | Result |
|---|---|
| Every CASE matches a deleted TEST_FUNCTION | ✅ All 31 deleted TEST_FUNCTIONs → 31 CASEs across 8 PTFs |
| No tests dropped | ✅ All accounted for |
| SRS comments deduplicated & placed correctly | async_socket_linux_ut.c |
No inappropriate // no-srs added |
✅ None added |
| Helper functions inlined & deleted | ✅ All verified |
// no-srs removals from non-converted tests |
ℹ️ 4 files — see table above |
…n-parameterized tests - Remove extraneous Tests_SRS_ASYNC_SOCKET_LINUX_04_012 comment from async_socket_linux_ut.c - Restore // no-srs on TEST_FUNCTIONs in real_thandle_helper_ut.c, real_thandle_log_context_handle_ut.c, reals_linux_ut.c, reals_win32_ut.c Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Author
|
Fixed: removed extraneous SRS comment (Tests_SRS_ASYNC_SOCKET_LINUX_04_012), restored // no-srs on non-parameterized tests in real_thandle_helper_ut.c, real_thandle_log_context_handle_ut.c, reals_linux_ut.c, reals_win32_ut.c #Closed |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Author
|
/azp run |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
anporumb
reviewed
Mar 11, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Author
|
/azp run |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates c-testrunnerswitcher submodule to master, bringing in PARAMETERIZED_TEST_FUNCTION macro support.
Changes: