@@ -4,7 +4,7 @@ There are 4 categories of tests:
44
551 . Unit tests in the main crate source.
662 . Integration tests in the ` tests ` directory - these all have the extension ` .rs ` .
7- 3 . Raw ASL files that can be checked using ` aml_tester `
7+ 3 . Raw ASL files that can be checked using ` aml-tester `
884 . Support for running tests from the ` uacpi ` project.
99
1010## Unit tests
@@ -15,23 +15,23 @@ relatively few unit tests at present - feel free to send PRs with more!
1515## Integration tests
1616
1717These are the ` .rs ` files in the ` tests ` directory. They largely consist of snippets of ASL code that are parsed and
18- then executed using the ` aml_test_tools ` sub-crate. Most of the tests specify the expected output from the provided
18+ then executed using the ` aml-test-tools ` sub-crate. Most of the tests specify the expected output from the provided
1919` Handler ` , which provides reasonable confidence the parser is working correctly.
2020
21- The ` aml_test_tools ` sub-crate provides various utilities for writing this style of test.
21+ The ` aml-test-tools ` sub-crate provides various utilities for writing this style of test.
2222
2323Like the unit tests, they can be run using ` cargo test ` .
2424
2525## Raw ASL files
2626
2727Various ASL files are provided in the ` tests ` directory. They can be parsed and executed by running
28- ` cargo run_tests -p tests ` from the root of the repository. This cargo alias runs the ` aml_tester ` tool.
28+ ` cargo run_tests -p tests ` from the root of the repository. This cargo alias runs the ` aml-tester ` tool.
2929
30- The ` aml_tester ` tool provides a command-line way to run ASL files - similar to ` acpiexec ` .
30+ The ` aml-tester ` tool provides a command-line way to run ASL files - similar to ` acpiexec ` .
3131
3232## Running tests from the ` uacpi ` project
3333
34- > See the documentation for ` uacpi_test_adapter ` for more detailed information. Note that a large proportion of the
34+ > See the documentation for ` uacpi-test-adapter ` for more detailed information. Note that a large proportion of the
3535> tests in the ` uacpi ` project do not yet pass in this crate.
3636
3737The ` uacpi ` project has a fairly extensive test suite. It makes sense for us to be able to check against their test
@@ -41,10 +41,10 @@ suite as well as our own. This can be done by:
41412 . Navigating to the root of that repo.
42423 . Running something like:
4343 ``` shell
44- python3 tests/run_tests.py --test-runner ../acpi/target/debug/uacpi_test_adapter
44+ python3 tests/run_tests.py --test-runner ../acpi/target/debug/uacpi-test-adapter
4545 ```
46- Adjusting the paths as necessary. See the ` uacpi_test_adapter ` documentation for details on how it finds
47- ` aml_tester ` .
46+ Adjusting the paths as necessary. See the ` uacpi-test-adapter ` documentation for details on how it finds
47+ ` aml-tester ` .
4848
4949Note that, at present, several of the uACPI tests run indefinitely. You may want to skip these! The easiest way to do so
5050is probably just to delete them... The relevant tests are:
0 commit comments