Skip to main content

Module commands

Module commands 

Source
Expand description

Project-specific build and test commands used by folder-based analysis.

When the user does not pass --command, analyze has to build the project and derive a test command for the mutated file itself. Those commands differ per project (Bitcoin Core uses CMake + test_bitcoin + the functional test_runner.py; secp256k1 uses CMake + CTest), so each project provides a ProjectCommands implementation, selected by for_project.

This mirrors the crate::operators module: a trait per concern, one implementation per project, and a single for_project selector.

Structs§

BitcoinCore
Secp256k1

Traits§

ProjectCommands
Build and test commands for a single project.

Functions§

for_project
Return the ProjectCommands for the given project.