-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Good first issueIndicates a good issue for first-time contributorsIndicates a good issue for first-time contributorsPriority: LowIndicates that an issue or pull request should be resolved behind issues or pull requests labelled `Indicates that an issue or pull request should be resolved behind issues or pull requests labelled `Status: ParkedIndicates that an issues or pull request will be revisited laterIndicates that an issues or pull request will be revisited later
Description
Branched from issue #4747 .
Feature Request
Since tools/devtool checkstyle only checks coding style, it doesn't require KVM, but it does the KVM existence check. That prevents users from running it on their development env without KVM.
Describe the desired solution
Currently, it just calls cmd_test() that does the KVM check.
https://github.com/firecracker-microvm/firecracker/blob/main/tools/devtool#L900-L902
cmd_checkstyle() {
cmd_test --no-build -- integration_tests/style -n 4 --dist worksteal
}
https://github.com/firecracker-microvm/firecracker/blob/main/tools/devtool#L686
cmd_test() {
// snipped
ensure_kvm
// snipped
}
We might be able to add a new option of cmd_test() to bypass the check.
Describe possible alternatives
An alternative could be hardcoding a simplified version of cmd_test in cmd_checkstyle.
Additional context
N/A
Checks
- Have you searched the Firecracker Issues database for similar requests?
- Have you read all the existing relevant Firecracker documentation?
- Have you read and understood Firecracker's core tenets?
Metadata
Metadata
Assignees
Labels
Good first issueIndicates a good issue for first-time contributorsIndicates a good issue for first-time contributorsPriority: LowIndicates that an issue or pull request should be resolved behind issues or pull requests labelled `Indicates that an issue or pull request should be resolved behind issues or pull requests labelled `Status: ParkedIndicates that an issues or pull request will be revisited laterIndicates that an issues or pull request will be revisited later