Skip to content

Convert all tests to use TIMED_TEST_SUITE_INITIALIZE/CLEANUP#546

Open
parth21999 wants to merge 5 commits intomasterfrom
paaggarwal/add-timed-test-suite-to-all-tests
Open

Convert all tests to use TIMED_TEST_SUITE_INITIALIZE/CLEANUP#546
parth21999 wants to merge 5 commits intomasterfrom
paaggarwal/add-timed-test-suite-to-all-tests

Conversation

@parth21999
Copy link
Copy Markdown
Member

Converts all test files from TEST_SUITE_INITIALIZE/CLEANUP to TIMED_TEST_SUITE_INITIALIZE/CLEANUP using the existing timed_test_suite.h from master.

Changes:

  • 90 .c files: macro replacement
  • 62 PCH files: added c_pal/timed_test_suite.h (before ENABLE_MOCKS)
  • 35 int/perf .c files: added c_pal/timed_test_suite.h

This PR uses the master version of timed_test_suite.h (no testrunnerswitcher changes required).

@parth21999
Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@parth21999
Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@parth21999
Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@parth21999
Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@parth21999 parth21999 force-pushed the paaggarwal/add-timed-test-suite-to-all-tests branch from 17ce93c to 4041ef7 Compare March 5, 2026 00:50
@parth21999
Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@parth21999 parth21999 force-pushed the paaggarwal/add-timed-test-suite-to-all-tests branch from f5f90e9 to 0ec1371 Compare March 5, 2026 21:44
@parth21999
Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@parth21999
Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@parth21999 parth21999 force-pushed the paaggarwal/add-timed-test-suite-to-all-tests branch from 1f07822 to 1c19738 Compare March 6, 2026 04:46
@parth21999
Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@parth21999
Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

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.

@parth21999
Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@parth21999
Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

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.

@parth21999
Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@parth21999
Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

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.

@parth21999 parth21999 force-pushed the paaggarwal/add-timed-test-suite-to-all-tests branch from 8a037c4 to cadd4ef Compare March 17, 2026 19:18
@parth21999
Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@parth21999 parth21999 force-pushed the paaggarwal/add-timed-test-suite-to-all-tests branch from cadd4ef to 0ee787d Compare March 17, 2026 22:02
@parth21999
Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@parth21999 parth21999 force-pushed the paaggarwal/add-timed-test-suite-to-all-tests branch from 0ee787d to 5d03a14 Compare March 17, 2026 22:48
@parth21999
Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@parth21999 parth21999 force-pushed the paaggarwal/add-timed-test-suite-to-all-tests branch from 5d03a14 to 589ba2d Compare March 18, 2026 01:43
@parth21999
Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

- Replace TEST_SUITE_INITIALIZE/CLEANUP with TIMED_ versions in 91 test files
- Add c_pal/timed_test_suite.h to 62 PCH files and 36 int/perf test files
- Add c_pal_reals and c_pal to ADDITIONAL_LIBS in test CMakeLists.txt
- Add process_watchdog reals (real_process_watchdog.c/.h) for both win32 and linux
- timed_test_suite.h uses real_ renames so the watchdog works even when
  interlocked and other dependencies are mocked in unit tests

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@parth21999 parth21999 force-pushed the paaggarwal/add-timed-test-suite-to-all-tests branch from 589ba2d to c7b91fa Compare March 18, 2026 22:00
@parth21999
Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

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.

parth21999 and others added 2 commits March 18, 2026 16:22
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@parth21999
Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@parth21999
Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@parth21999
Copy link
Copy Markdown
Member Author

/azp run

1 similar comment
@parth21999
Copy link
Copy Markdown
Member Author

/azp run

@parth21999 parth21999 enabled auto-merge (squash) March 24, 2026 19:37
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

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.

1 participant