Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[ONNX FE] Fix docs typos and formatting and clarify instructions (#36962)

Alexis Menardecf3d30faa02
diff --git a/src/frontends/onnx/docs/tests.md b/src/frontends/onnx/docs/tests.md
index 2de336153f7..c98c8e994e1 100644
--- a/src/frontends/onnx/docs/tests.md
+++ b/src/frontends/onnx/docs/tests.md
@@ -15,8 +15,9 @@
```
pip install -r <OV_REPO_DIR>/src/frontends/onnx/tests/requirements.txt
```
-After that CMake will produce test models from existin [*.prototxt files](../tests/models)
-2. Build OpenVINO with the `-DENABLE_TESTS=ON` flag.
+After that CMake will generate test models from existing [*.prototxt files](../tests/models).
+
+2. Build OpenVINO with the `-DENABLE_TESTS=ON` flag (or if you only build ```ov_onnx_frontend_tests``` target, make sure to also build ```test_model_zoo``` to generate the models)
3. Run `<OV_REPO_DIR>/bin/intel64/<OV_BUILD_TYPE>/ov_onnx_frontend_tests`, where <OV_REPO_DIR> is your workspace folder, and `OV_BUILD_TYPE` can be `Debug` or `Release`, depending on the `-DCMAKE_BUILD_TYPE` CMake build option.
You can filter tests using the `--gtest_filter` flag like any other gtest-based tests.