[PR #1029] OLD-10029: test(hw_oracle): unit tests for tools/hw_oracle/drm.py #1066

Open
opened 2026-11-26 20:19:58 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1029
Author: @klikso
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: carry/old-10029-hw-oracle-drm-tests


📝 Commits (1)

  • 22ce0f4 test(hw_oracle): unit tests for tools/hw_oracle/drm.py

📊 Changes

1 file changed (+433 additions, -0 deletions)

View changed files

➕ tests/test_hw_oracle_drm.py (+433 -0)

📄 Description

Claimed in the coordination issue as: OLD-10029

What and why

Carries forward old-pr/10029 (draft #297) rebased onto current main:

  • Adds unit tests in tests/test_hw_oracle_drm.py for tools/hw_oracle/drm.py covering DRM device node discovery, render node enumeration, chip generation detection, and fallback paths.

Original commit preserved: Ritolino <[email protected]>.

Tested

  • python -I tests/test_hw_oracle_drm.py: 13/13 passed
  • python -I scripts/check_no_game_data.py tests/test_hw_oracle_drm.py: passed (no game data)
  • python -I tests/test_text_write_line_endings.py: passed
  • python -m compileall -q make_game.py tools tests: clean

GPUs tested: n/a

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed: n/a (no translator rule).

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1029 **Author:** [@klikso](https://github.com/klikso) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `carry/old-10029-hw-oracle-drm-tests` --- ### 📝 Commits (1) - [`22ce0f4`](https://github.com/ubiquitarianism/leonida/commit/22ce0f40ab6046c0519b8c50cc13b5b755374378) test(hw_oracle): unit tests for tools/hw_oracle/drm.py ### 📊 Changes **1 file changed** (+433 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `tests/test_hw_oracle_drm.py` (+433 -0) </details> ### 📄 Description Claimed in the coordination issue as: OLD-10029 ### What and why Carries forward `old-pr/10029` (draft #297) rebased onto current `main`: - Adds unit tests in `tests/test_hw_oracle_drm.py` for `tools/hw_oracle/drm.py` covering DRM device node discovery, render node enumeration, chip generation detection, and fallback paths. Original commit preserved: `Ritolino <230431388+[email protected]>`. ### Tested - `python -I tests/test_hw_oracle_drm.py`: 13/13 passed - `python -I scripts/check_no_game_data.py tests/test_hw_oracle_drm.py`: passed (no game data) - `python -I tests/test_text_write_line_endings.py`: passed - `python -m compileall -q make_game.py tools tests`: clean GPUs tested: n/a AI-assisted: yes ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [x] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed: n/a (no translator rule). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1066
No description provided.