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
This commit is contained in:
dkrottap
2021-09-17 11:39:36 +05:30
committed by GitHub
parent 039b342e14
commit 4e1a3ff850
36 changed files with 4560 additions and 5 deletions
+3 -1
View File
@@ -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)