@@ -184,6 +184,13 @@ hunter_private_data(
184184 FILE "text-image-super-resolution-0001_2022.1.0_4shave.blob"
185185 LOCATION openvino_2022_1_blob
186186)
187+ # YoloV4 resource
188+ hunter_private_data(
189+ URL "https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/yolo-v4-tiny-tf_openvino_2021.4_4shave.blob"
190+ SHA1 "7da2f96f7300e3828940557e6a86ac6f243eef7e"
191+ FILE "yolo-v4-tiny-tf_openvino_2021.4_4shave.blob"
192+ LOCATION tiny_yolo_v4_2021-4_4shave_blob
193+ )
187194
188195
189196# Add tests
@@ -234,4 +241,25 @@ dai_test_compile_definitions(filesystem_test_20 PRIVATE BLOB_PATH="${mobilenet_b
234241dai_add_test(bootloader_version_test src/bootloader_version_test.cpp)
235242
236243# XLinkIn -> XLinkOut passthrough with large frames
237- dai_add_test(xlink_roundtrip_test src/xlink_roundtrip_test.cpp)
244+ dai_add_test(xlink_roundtrip_test src/xlink_roundtrip_test.cpp)
245+
246+ # Stability stress test (OAK-D oriented USB/PoE)
247+ # TODO
248+ # # dai_add_test(stability_stress_test src/stability_stress_test.cpp)
249+ option (DEPTHAI_STABILITY_STRESS_TEST_DEBUG "Enable visualization for stability stress test" OFF )
250+ add_executable (stability_stress_test src/stability_stress_test.cpp)
251+ add_default_flags(stability_stress_test LEAN)
252+ if (COMMAND target_clangformat_setup)
253+ target_clangformat_setup(stability_stress_test "" )
254+ endif ()
255+ if (DEPTHAI_STABILITY_TEST_DEBUG)
256+ target_link_libraries (stability_stress_test PRIVATE depthai::opencv opencv_highgui)
257+ target_compile_definitions (stability_stress_test PRIVATE DEPTHAI_STABILITY_TEST_DEBUG)
258+ else ()
259+ target_link_libraries (stability_stress_test PRIVATE depthai::core)
260+ endif ()
261+ target_compile_definitions (stability_stress_test PRIVATE BLOB_PATH="${tiny_yolo_v4_2021-4_4shave_blob}" )
262+ # add_test(stability_stress_test stability_stress_test)
263+ # add_test(stability_stress_test_poe stability_stress_test)
264+ # set_tests_properties(stability_stress_test PROPERTIES ENVIRONMENT "UBSAN_OPTIONS=halt_on_error=1;DEPTHAI_PROTOCOL=usb" LABELS stability_usb)
265+ # set_tests_properties(stability_stress_test_poe PROPERTIES ENVIRONMENT "UBSAN_OPTIONS=halt_on_error=1;DEPTHAI_PROTOCOL=poe" LABELS stability_poe)
0 commit comments