SWDEV-359379 - WIP catch2 exe per src file inplace of one exe per module [TEST ONLY. DO NOT MERGE]#3018
SWDEV-359379 - WIP catch2 exe per src file inplace of one exe per module [TEST ONLY. DO NOT MERGE]#3018agunashe wants to merge 1 commit intoROCm:develop_oldfrom
Conversation
Change-Id: Ib2e533adfc29e39066e80a3bad5ce2cf00125fd7
|
@pvelesko Please take a look at this WIP PR. |
|
|
@agunashe any insight into how to make this work? |
|
@pvelesko - sorry I am still working on it. I should have some update next week. |
|
@agunashe @gargrahul any updates? This is blocking us from upgrading our HIP base version for CHIP-SPV. |
I reworked on the standalone tests in hip-tests repo. The PR is still experimental and fails in windows, but it works fine on Linux. For development purposes most of the folders are commented, only ABM folder is used. To build all folders please uncomment all the folders in the catch/CMakeLists.txt file, Then use -DSTANDALONE_TESTS=1 during building to generate exe per file |
SWDEV-359379 - WIP catch2 exe per src file inplace of one exe per module [TEST ONLY]
This patch enables the multiple exes instead of single exe per module.
As an example, unit/event is chosen to demonstrate the multiple exes.
Previously during build time that is "make build_tests" -
Previously during execution time that is "ctest" -
Proposed solution-
During build time "make build_tests" -
During execution time "ctest"-
TODO-
Change-Id: Ib2e533adfc29e39066e80a3bad5ce2cf00125fd7