openvino/tests/appverifier_tests
Fang Xu cf96284f90
add test for thread local (#21976)
### Details:
 - *add test for thread_local*
 - *thread_local may cause memory leak during AppVerifier check*

### Tickets:
 - *CVS-129729*

---------

Co-authored-by: Chen Peter <peter.chen@intel.com>
2024-04-25 06:51:08 +00:00
..
appverifier_tests add test for thread local (#21976) 2024-04-25 06:51:08 +00:00
thread_local add test for thread local (#21976) 2024-04-25 06:51:08 +00:00
.clang-format add test for thread local (#21976) 2024-04-25 06:51:08 +00:00
CMakeLists.txt add test for thread local (#21976) 2024-04-25 06:51:08 +00:00
README.md add test for thread local (#21976) 2024-04-25 06:51:08 +00:00

README.md

AppVerifier Tests Suite

This test suite is used to detect whether AppVerifier will report a memory leak.

Getting Started

AppVerifier tests are based on the googletest framework. You can filter tests with --gtest_filter and explore tests available with --gtest_list_tests options.

Pre-requisites

  • Windows OS to build the tests.

Building Tests

To build the tests, you need to have OpenVINO™ installed or build from source. Before build the tests, open a terminal, set OpenVINO™ environment, and after that run the commands below:

<OpenVINO_install_dir>/setupvars.bat
mkdir build && cd build
cmake .. && cmake --build . --config Release -j8

Running Tests

.\test\Release\ov_appverifier_tests.exe

This test can be run directly using the above command, but if you want to detect whether there is a memory leak, the test executable file need to be added in AppVerifier (refer to https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/application-verifier-testing-applications) before running the above command.