Skip to content

Commit eac0300

Browse files
committed
refactor(test): remove gcov coverage-cache test selection (--only-changes/--build-coverage-cache)
1 parent 603ce01 commit eac0300

5 files changed

Lines changed: 0 additions & 1696 deletions

File tree

toolchain/mfc/cli/commands.py

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -464,27 +464,6 @@
464464
type=str,
465465
default=None,
466466
),
467-
Argument(
468-
name="build-coverage-cache",
469-
help="Run all tests with gcov instrumentation to build the file-level coverage cache. Pass --gcov to enable coverage instrumentation in the internal build step.",
470-
action=ArgAction.STORE_TRUE,
471-
default=False,
472-
dest="build_coverage_cache",
473-
),
474-
Argument(
475-
name="only-changes",
476-
help="Only run tests whose covered files overlap with files changed since branching from master (uses file-level gcov coverage cache).",
477-
action=ArgAction.STORE_TRUE,
478-
default=False,
479-
dest="only_changes",
480-
),
481-
Argument(
482-
name="changes-branch",
483-
help="Branch to compare against for --only-changes (default: master).",
484-
type=str,
485-
default="master",
486-
dest="changes_branch",
487-
),
488467
],
489468
mutually_exclusive=[
490469
MutuallyExclusiveGroup(
@@ -517,17 +496,13 @@
517496
Example("./mfc.sh test -j 4", "Run with 4 parallel jobs"),
518497
Example("./mfc.sh test --only 3D", "Run only 3D tests"),
519498
Example("./mfc.sh test --generate", "Regenerate golden files"),
520-
Example("./mfc.sh test --only-changes -j 4", "Run tests affected by changed files"),
521-
Example("./mfc.sh build --gcov -j 8 && ./mfc.sh test --build-coverage-cache", "One-time: build file-coverage cache"),
522499
],
523500
key_options=[
524501
("-j, --jobs N", "Number of parallel test jobs"),
525502
("-o, --only PROP", "Run tests matching property"),
526503
("-f, --from UUID", "Start from specific test"),
527504
("--generate", "Generate/update golden files"),
528505
("--no-build", "Skip rebuilding MFC"),
529-
("--build-coverage-cache", "Build file-level gcov coverage cache (one-time)"),
530-
("--only-changes", "Run tests affected by changed files (requires cache)"),
531506
],
532507
)
533508

0 commit comments

Comments
 (0)