* Partial progress * Finish v1 * Cleanup * Remove useless files * Fix path to pdpd * Fix onnx path * Minor change * Rework MO * Minor change * Remove some costraints * Add MO constraints * Update gitignore for MO * Minor change * Apply tech sync discussion * Cleanup * CR comment * Debug ONNX FE * simplify ONNX FE * Update cmake * Hardcode ONNX requirement * Add dependency resolver to cmake * Add constraints for openvino/tests * Add missing pytest-html * Fix -c path * Revert debug changes to path * Add cmake to copy constraints.txt * Update dependabot * Remove slash * Remove cmake * Debug prints * Minor changes * Move reqs check to separate file * Add requirements parser to benchmark_tool * Fix smoke tests constraints * Minor fixes * Minor change * My fixes were apparently wrong * Debug - self.executable_path * Debug - add singledispatch to tests and tools * Debug - print IE_APP_PATHs * Revert "Debug - print IE_APP_PATHs" This reverts commit67ccb6d3f5. * Revert "Debug - add singledispatch to tests and tools" This reverts commit3b945931e2. * Revert "Debug - self.executable_path" This reverts commit3aa724eff6. * update dependabot * update dependabot * Skip benchmark_app tests * Use CMAKE_CURRENT_BINARY_DIR in cmake * Remove debug prints * minor change --------- Signed-off-by: p-wysocki <przemyslaw.wysocki@intel.com>
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
Clone Open Model Zoo from https://github.com/openvinotoolkit/open_model_zoo
Run tests
pytest test_cc.py
Test parameters:
sea_runtool- path tosea_runtool.pyfile.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.omz_repo- Path to Open Model Zoo repository 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_pkgfolder with OpenVINO repository specified in--openvino_root_diroption.If OpenVINO instrumented package has been successfuly installed, in the future you can set
--openvino_refparameter as<artifacts>/ref_pkgfor better performance.omz_cache_dir- Path to Open Model Zoo cache directory.
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=. --omz_repo=../_open_model_zoo