Skip to content

Arcan: implement NixOS VM test for program example #2271

@alikhere

Description

@alikhere

Instructions

Use metadata about the application from its tracking issue and implement a NixOS VM test for the example.

Note

  • The test needs to validate the basic functionality of the example configuration.
  • For an example of how this looks like, please refer to the project template.

projects/Arcan/default.nix sets tests.basic.module = null.
An example already exists at projects/Arcan/example.nix — only the test file is missing.
The overview page will not display the example until a passing test exists.

A minimal test that verifies the binary is present:

start_all()
machine.succeed("arcan --help")

Reference: projects/Alive2/test.nix uses the identical pattern for a CLI program.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Needs refinement

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions