Fix Makefile and documentation paths left behind by moved files - #4166
Open
DanielMBouyou wants to merge 1 commit into
Open
Fix Makefile and documentation paths left behind by moved files#4166DanielMBouyou wants to merge 1 commit into
DanielMBouyou wants to merge 1 commit into
Conversation
Five references still point at files that were moved or renamed by merged pull requests, and nothing in CI notices, because no test asserts that a path named in the build or the docs resolves. Makefile, test-fuzz: invoked tests/cross_fw/sdl/fuzz/quantize_api.py, removed in openvinotoolkit#3695, which added fuzz_target.py in the same commit. The filename is the only change; both scripts call atheris.Setup(sys.argv, ...) and then atheris.Fuzz(), so argument handling and behaviour are unchanged. This target is the only invocation of the fuzz target in the repository, so no CI job caught the breakage. Makefile, install-openvino-dev: installed from examples/post_training_quantization/openvino/yolov8/, renamed to yolo26 in openvinotoolkit#3844. docs/usage/IgnoredScope.md, tests/post_training/README.md and the --memory-monitor help text in tests/post_training/conftest.py: tools/ paths moved in openvinotoolkit#3939. The documented render_dot_to_svg command also passed -m, which the script does not register; its parser accepts -i and --input_file. Adds tests/docs/test_makefile_paths.py, asserting that Python scripts written out literally in Makefile recipes exist. It is deliberately narrow: it does not cover requirements files, paths built from Make variables, or python -m invocations, so a green run is not a claim that every target works. install-models-hub-torch is left alone. It installs from tests/torch/models_hub_test/, deleted in openvinotoolkit#3553, and the only repair is removing the target, which is a maintainer's decision.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Repoint five references left pointing at files that were renamed or removed by merged refactors:
Makefile,test-fuzz— invokedquantize_api.py; Rework fuzzing tests #3695 removed it and addedfuzz_target.pyin the same commit. Filename only: both callatheris.Setup(sys.argv, ...), behaviour unchanged.Makefile,install-openvino-dev— installs fromopenvino/yolov8/, renamedyolo26in [OpenVINO] YOLO26 sample #3844.docs/usage/IgnoredScope.md,tests/post_training/README.md, a--memory-monitorhelp string —tools/paths moved in Reorganization tools directory #3939.render_dot_to_svg.pytakes-i, not-m.Adds
tests/docs/test_makefile_paths.py: scripts named in Makefile recipes must exist.install-models-hub-torchinstalls fromtests/torch/models_hub_test/, deleted in #3553; removing a target seemed like your call.Reason for changes
make test-fuzzfails on its only line;make install-openvino-devon its third, a requirements file that no longer exists. No CI job runs the fuzz target, so nothing caught it.Related tickets
None; no issue or PR covers these paths.
Tests
Test fails on
developnamingMakefile:166, passes after.pytest tests/docsgreen (14),tests/commonunchanged, Ruff v0.15.18 check and format clean. Thememory_monitoredits are text, checked by inspection.