rust-osdev / rust-osdev/acpi

Allow aml_tester to report test outcome using DefFatal

Open
#106 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
245
Forks
93
Avg merge
2d 8h
Merged PRs (30d)
15

Description

DefFatal can be used by ASL to report a fatal error to OSPM. We can use this to test features of ASL within asl_tester.

  • Don't panic, but mark test as failing, if DefFatal is encountered
  • Allow annotation from test to signal that a DefFatal is expected, so we can test it
  • Add a test for DefFatal to make sure it's parsed and handled correctly

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the asl_tester code path that handles DefFatal and the existing test annotation mechanism. Trace how fatal errors currently reach OSPM and how tests are reported; done means DefFatal marks tests as failing without a panic, expected DefFatal annotations are supported, and a test verifies parsing and handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.