DLR-FT / DLR-FT/a653rs-linux

nix command to run the unit tests

Open
#70 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
11
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Because the cgroup tests require a `cargo test` run in a systemd scope, I think we should offer a nix command to run this, such as `systemd-cargo-test`. Currently, we have to run the `systemd-run --user --scope -- cargo test -- --nocapture`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Nix command definitions and the cgroup tests that currently require `systemd-run --user --scope -- cargo test -- --nocapture`. Add a `systemd-cargo-test` command that runs the same scoped test invocation, then verify that it executes the unit tests successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, cli, testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.