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]
This commit is contained in:
Atul Kulkarni
2025-08-01 14:20:27 -05:00
committed by GitHub
parent e550ba1e3b
commit 35283394ed
2 changed files with 1753 additions and 0 deletions
+1
View File
@@ -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})
File diff suppressed because it is too large Load Diff