SWDEV-289405 - [catch2][dtest][module] Migration of Module files to CATCH2 framework (#2351)

Migrated all module related files to CATCH2 framework and optimized to
have single module kernel file

Change-Id: I39aa28ef22c1b2f4d0014ca32b59b9c645b725dc
Tento commit je obsažen v:
dkrottap
2021-09-17 11:39:36 +05:30
odevzdal GitHub
rodič 039b342e14
revize 4e1a3ff850
36 změnil soubory, kde provedl 4560 přidání a 5 odebrání
+3 -1
Zobrazit soubor
@@ -15,6 +15,7 @@ target_link_libraries(UnitTests PRIVATE UnitDeviceTests
EventTest
OccupancyTest
DeviceTest
ModuleTest
RTC
stdc++fs)
@@ -36,6 +37,7 @@ target_link_libraries(ABMTests PRIVATE ABMAddKernels
stdc++fs)
catch_discover_tests(ABMTests PROPERTIES SKIP_REGULAR_EXPRESSION "HIP_SKIP_THIS_TEST")
add_dependencies(UnitTests module_kernels.code)
add_dependencies(build_tests UnitTests ABMTests)
@@ -63,7 +65,7 @@ else()
target_compile_options(StressTest PUBLIC -std=c++17)
endif()
if(HIP_PLATFORM MATCHES "amd")
target_link_libraries(StressTest PRIVATE printf stream)
target_link_libraries(StressTest PRIVATE printf stream module)
endif()
target_link_libraries(StressTest PRIVATE memory stdc++fs)
add_dependencies(build_stress_test StressTest)