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]
Этот коммит содержится в:
Atul Kulkarni
2025-08-01 14:20:27 -05:00
коммит произвёл GitHub
родитель e550ba1e3b
Коммит 35283394ed
2 изменённых файлов: 1753 добавлений и 0 удалений
+1
Просмотреть файл
@@ -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})
Разница между файлами не показана из-за своего большого размера Загрузить разницу