Add unit tests for graph/xml.cc & graph/xml.h (#1833)

* Added new binary for executing unit tests

Added new unit tests for argcheck.cc and alt_rsmi.cc files

Modified the method to execute unit tests to cover static methods
by using a bash script to convert static to non-static functions
and variables on the fly restricted to debug build type.

* Added new unit tests for src/transport/shm.cc

* Added new unit tests for graph/xml.cc

[ROCm/rccl commit: 0e7d7da55d]
Šī revīzija ir iekļauta:
Atul Kulkarni
2025-08-01 14:20:27 -05:00
revīziju iesūtīja GitHub
vecāks e550ba1e3b
revīzija 35283394ed
2 mainīti faili ar 1753 papildinājumiem un 0 dzēšanām
+1
Parādīt failu
@@ -149,6 +149,7 @@ if(BUILD_TESTS)
TransportTests.cpp
common/main_fixtures.cpp
common/EnvVars.cpp
graph/XmlTests.cpp
)
add_executable(rccl-UnitTestsFixtures ${TEST_FIXTURE_SOURCE_FILES})
Failā izmaiņas netiks attēlotas, jo tās ir par lielu Ielādēt izmaiņas