Skip to content

Fix aml_tester files argument#267

Merged
IsaacWoods merged 1 commit intorust-osdev:mainfrom
martin-hughes:aml_tester-files-fix
Mar 8, 2026
Merged

Fix aml_tester files argument#267
IsaacWoods merged 1 commit intorust-osdev:mainfrom
martin-hughes:aml_tester-files-fix

Conversation

@martin-hughes
Copy link
Contributor

On main you could not run aml_tester against a single file - only the --path mode was working. This was due to a clap downcast error on line 295.

I also made a handful of minor tidy-ups suggested by clippy.

This was due to a clap downcast error.

Also a handful of minor tidy-ups.
@IsaacWoods
Copy link
Member

IsaacWoods commented Mar 8, 2026

Interestingly, this worked for me already by supplying a single file's path a la cargo run_tests -p tests/some_test.asl. Maybe platform dependent FS stuff? Happy to merge - thanks!

@IsaacWoods IsaacWoods merged commit ab7c840 into rust-osdev:main Mar 8, 2026
5 checks passed
@martin-hughes martin-hughes deleted the aml_tester-files-fix branch March 14, 2026 21:40
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.

2 participants