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]
Tento commit je obsažen v:
Atul Kulkarni
2025-08-01 14:20:27 -05:00
odevzdal GitHub
rodič e550ba1e3b
revize 35283394ed
2 změnil soubory, kde provedl 1753 přidání a 0 odebrání
+1
Zobrazit soubor
@@ -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})
Rozdílový obsah nebyl zobrazen, protože je příliš veliký Načíst rozdílové porovnání