Skip to content

Add unit tests for AUR, Cargo, and preflight dispatchers - #1

Merged
Kseen715 merged 1 commit into
mainfrom
salvage-hyprland-glass
Jul 25, 2026
Merged

Add unit tests for AUR, Cargo, and preflight dispatchers#1
Kseen715 merged 1 commit into
mainfrom
salvage-hyprland-glass

Conversation

@Kseen715

Copy link
Copy Markdown
Owner
  • Implement aur_dispatch.sh to test AUR package installation via detected helpers, ensuring proper handling of installed packages and error reporting for missing helpers.
  • Create cargo_dispatch.sh to validate Cargo package installation, including checks for existing binaries and error handling when no toolchain is present.
  • Introduce preflight.sh to verify the functionality of the osr_preflight function, testing satisfied predicates, unmet conditions, and handling of unknown predicates.

- Implement `aur_dispatch.sh` to test AUR package installation via detected helpers, ensuring proper handling of installed packages and error reporting for missing helpers.
- Create `cargo_dispatch.sh` to validate Cargo package installation, including checks for existing binaries and error handling when no toolchain is present.
- Introduce `preflight.sh` to verify the functionality of the `osr_preflight` function, testing satisfied predicates, unmet conditions, and handling of unknown predicates.
@Kseen715
Kseen715 merged commit 06bf797 into main Jul 25, 2026
11 of 12 checks passed
@Kseen715
Kseen715 deleted the salvage-hyprland-glass branch July 25, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant