Commit 14d3cbc
authored
feat: add arceos tests (#6)
* chore: update Cargo.lock and qemu-aarch64.toml for dependency adjustments
* feat: Add QEMU runner and configuration for ArceOS
- Implemented QEMU runner in `qemu.rs` to facilitate running ArceOS applications in QEMU.
- Added board configuration files for AArch64, RISC-V, and x86_64 architectures.
- Introduced `xtask` commands for building and running ArceOS applications.
- Enhanced configuration loading to support command line arguments and board-specific settings.
- Implemented default configuration setup for specified boards.
- Updated dependencies in `Cargo.toml` for enhanced functionality.
- Added tests for QEMU runner and configuration loading.
* feat: add wait queue test suite for ArceOS
* style: apply cargo fmt
* refactor(axbuild): reuse ostool build and qemu runners
* fix: simplify xtask alias in Cargo configuration
* style: fix comment indentation in build.rs template
* Refactor board configuration loading and QEMU runner integration
- Updated `load_board_config` to use the new config module's board loader for backward compatibility.
- Refactored `QemuRunner` to accept `manifest_dir` instead of `image_path` and `arceos_dir`, simplifying the constructor and related methods.
- Removed redundant code and improved error handling in `run_defconfig` by leveraging `apply_defconfig`.
- Enhanced configuration loading logic to prioritize command line arguments and board configurations.
- Updated tests to reflect changes in the QEMU runner and configuration loading.
- Cleaned up unused functions and imports in the configuration module.
- Bumped `ostool` version in `Cargo.lock` to 0.8.13.
* feat: add support for ArceOS targets and improve configuration management
* feat: enhance ArceOS configuration with SMP support and QEMU integration
* fix: update .gitignore to include axconfig wildcard and modify NUM_TASKS constant in main.rs
* fix: prevent negative initialization value in TimeIf implementation
* fix std test flakiness in scope-local and smoltcp doctest
* feat: Introduce AxContext and AxBuild for improved configuration management
- Added AxContext struct to encapsulate application context including configuration, manifest directory, and QEMU configuration path.
- Implemented AxBuild struct to facilitate building and running applications with QEMU.
- Refactored existing code to utilize AxContext and AxBuild, enhancing modularity and readability.
- Removed deprecated board configuration files for QEMU (aarch64, riscv64, x86_64) as they are no longer needed.
- Updated build and run commands to leverage new AxBuild structure, simplifying the command flow.
- Adjusted tests and configuration overrides to align with the new context management approach.
* fix: update Cargo.toml to include axerrno patch and clean up unused code in ostool
* fix: update ostool to improve platform handling and cargo argument construction
* refactor: improve test cases for config loading and cleanup functionality
* fix: update axbuild dependency path and remove unnecessary features
* refactor: rename log level conversion method and improve formatting in config handling1 parent 61ec188 commit 14d3cbc
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
| |||
0 commit comments