openvino/tests/conditional_compilation
Artyom Anokhov 0f1fa2cbde
Update copyrights with 2023 year (#15149)
* Update copyrights with 2023 year

* Updated more files.
2023-02-02 15:47:25 +01:00
..
tools Update copyrights with 2023 year (#15149) 2023-02-02 15:47:25 +01:00
README.md Conditional compilation test can run from open source (#5629) 2021-05-26 11:43:59 +03:00
conftest.py Update copyrights with 2023 year (#15149) 2023-02-02 15:47:25 +01:00
pytest.ini Conditional compilation test can run from open source (#5629) 2021-05-26 11:43:59 +03:00
requirements.txt Conditional compilation test can run from open source (#5629) 2021-05-26 11:43:59 +03:00
test_cc.py Update copyrights with 2023 year (#15149) 2023-02-02 15:47:25 +01:00
test_config.yml Design test config and integrate in CC tests (#4051) 2021-01-29 16:54:19 +03:00
test_utils.py Update copyrights with 2023 year (#15149) 2023-02-02 15:47:25 +01:00

README.md

Conditional compilation tests

This folder contains conditional compilation (CC) test framework code and CC tests file.

Environment preparation:

Install Python modules required for tests:

pip3 install -r requirements.txt 

Run tests

pytest test_cc.py

Test parameters:

  • sea_runtool - path to sea_runtool.py file.
  • collector_dir - path to collector file parent folder.
  • artifacts - Path to directory where test write output or read input.
  • openvino_root_dir - Path to OpenVINO repo root directory.

Optional:

  • test_conf - path to test cases .yml config.
  • openvino_ref - Path to root directory with installed OpenVINO. If the option is not specified, CC test firstly build and install instrumented package at <artifacts>/ref_pkg folder with OpenVINO repository specified in --openvino_root_dir option.

    If OpenVINO instrumented package has been successfuly installed, in the future you can set --openvino_ref parameter as <artifacts>/ref_pkg for better performance.

Sample usage:

pytest test_cc.py --sea_runtool=./thirdparty/itt_collector/runtool/sea_runtool.py --collector_dir=./bin/intel64/Release --artifacts=../artifacts --openvino_root_dir=.