History log of /DADK/crates/test_base/src/ (Results 1 – 7 of 7)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
d2ade6ef08-Nov-2024 Jomo <xuzihao@dragonos.org>

feat(dadk-config) (#72)

* 删除rust_target

* 解析用户程序配置文件:dadk-user -> dadk-config

* 添加用户程序配置文件模版

* patch


lib.rs
/DADK/dadk-config/src/common/mod.rs
/DADK/dadk-config/src/common/target_arch.rs
/DADK/dadk-config/src/common/task.rs
/DADK/dadk-config/src/manifest.rs
/DADK/dadk-config/src/user/mod.rs
/DADK/dadk-config/templates/config/actions/mod.rs
/DADK/dadk-config/templates/config/actions/user.rs
/DADK/dadk-config/templates/config/userapp_config.toml
/DADK/dadk-config/templates/dadk-manifest.toml
/DADK/dadk-config/tests/test_user_config.rs
/DADK/dadk-user/Cargo.toml
/DADK/dadk-user/src/context.rs
/DADK/dadk-user/src/executor/cache.rs
/DADK/dadk-user/src/executor/mod.rs
/DADK/dadk-user/src/executor/source.rs
/DADK/dadk-user/src/executor/tests.rs
/DADK/dadk-user/src/lib.rs
/DADK/dadk-user/src/parser/mod.rs
/DADK/dadk-user/src/parser/task.rs
/DADK/dadk-user/src/scheduler/mod.rs
/DADK/dadk-user/src/scheduler/task_deque.rs
/DADK/dadk-user/src/scheduler/tests.rs
/DADK/dadk-user/src/utils/mod.rs
/DADK/dadk-user/src/utils/path.rs
/DADK/dadk/Cargo.toml
/DADK/dadk/src/actions/mod.rs
/DADK/dadk/src/actions/user.rs
/DADK/dadk/src/console/mod.rs
/DADK/dadk/src/console/rootfs.rs
/DADK/dadk/src/console/tests.rs
/DADK/dadk/src/console/user.rs
/DADK/dadk/src/context/manifest.rs
/DADK/dadk/src/context/mod.rs
/DADK/dadk/src/lib.rs
/DADK/dadk/src/utils.rs
/DADK/tests/data/dadk-manifest.toml
/DADK/tests/data/dadk_config_v1/app_all_target_arch_0_1_0.dadk
/DADK/tests/data/dadk_config_v2/app_all_target_arch_0_2_0.toml
/DADK/tests/data/dadk_config_v2/app_normal_with_env_0_2_0.toml
/DADK/tests/data/dadk_config_v2/app_normal_with_env_fail_0_2_0.toml
/DADK/tests/data/dadk_config_v2/app_target_arch_riscv64_only_0_2_0.toml
/DADK/tests/data/dadk_config_v2/app_target_arch_x86_64_only_0_2_0.toml
5129c63b27-Oct-2024 Jomo <xuzihao@dragonos.org>

Xuzihao/feat dadk user (#71)

* 命令行参数解析:dadk_user -> dadk

* feat: 解析toml格式的用户程序配置文件

* feat: 添加toml格式的用户程序配置文件模版

* 增加用户程序配置解析的测试方法

* 将dadk-user中测试方法的dadk用户程序配置文件都改为toml格式的


dadk_user.rs
global.rs
lib.rs
/DADK/dadk-config/Cargo.toml
/DADK/dadk-config/src/boot/dragonstub.rs
/DADK/dadk-config/src/boot/grub.rs
/DADK/dadk-config/src/boot/hypervisor/hyp_type.rs
/DADK/dadk-config/src/boot/hypervisor/mod.rs
/DADK/dadk-config/src/boot/hypervisor/qemu.rs
/DADK/dadk-config/src/boot/metadata.rs
/DADK/dadk-config/src/boot/mod.rs
/DADK/dadk-config/src/boot/uboot.rs
/DADK/dadk-config/src/lib.rs
/DADK/dadk-config/src/manifest.rs
/DADK/dadk-config/src/rootfs/fstype.rs
/DADK/dadk-config/src/utils.rs
/DADK/dadk-config/templates/config/boot.toml
/DADK/dadk-config/templates/dadk-manifest.toml
/DADK/dadk-config/tests/test_boot_config.rs
/DADK/dadk-config/tests/test_dadk_manifest.rs
/DADK/dadk-config/tests/test_rootfs_config.rs
/DADK/dadk-user/src/executor/tests.rs
/DADK/dadk-user/src/lib.rs
/DADK/dadk-user/src/parser/config.rs
/DADK/dadk-user/src/parser/mod.rs
/DADK/dadk-user/src/parser/task.rs
/DADK/dadk-user/src/scheduler/tests.rs
/DADK/dadk-user/templates/config/build_from_source/test_archive.toml
/DADK/dadk-user/templates/config/build_from_source/test_git.toml
/DADK/dadk-user/templates/config/build_from_source/test_local.toml
/DADK/dadk-user/templates/config/install_from_prebuilt/test_archive.toml
/DADK/dadk-user/templates/config/install_from_prebuilt/test_local.toml
/DADK/dadk-user/tests/test_parse_dadk_user_config.rs
/DADK/dadk/src/console.rs
/DADK/dadk/src/lib.rs
/DADK/tests/data/dadk_config_v2/app_all_target_arch_0_2_0.toml
/DADK/tests/data/dadk_config_v2/app_normal_with_env_0_2_0.toml
/DADK/tests/data/dadk_config_v2/app_normal_with_env_fail_0_2_0.toml
/DADK/tests/data/dadk_config_v2/app_target_arch_riscv64_only_0_2_0.toml
/DADK/tests/data/dadk_config_v2/app_target_arch_x86_64_only_0_2_0.toml
1ad837a422-Oct-2024 LoGin <longjin@DragonOS.org>

Merge pull request #68 from DragonOS-Community/longjin/add-rootfs-config

feat(dadk-config): 添加rootfs配置文件

e2cc487b22-Oct-2024 LoGin <longjin@DragonOS.org>

feat(dadk-config): 在dadk manifest里面添加配置字段,并且增加测试用例 (#67)

* feat(dadk-config): 在dadk manifest里面添加配置字段,并且增加测试用例

增加了字段:
- rootfs_config
- hypervisor_config
- boot_config

自动测试: 增加对dadk manifest

feat(dadk-config): 在dadk manifest里面添加配置字段,并且增加测试用例 (#67)

* feat(dadk-config): 在dadk manifest里面添加配置字段,并且增加测试用例

增加了字段:
- rootfs_config
- hypervisor_config
- boot_config

自动测试: 增加对dadk manifest的模版的完整性校验

---------

Signed-off-by: longjin <longjin@DragonOS.org>

show more ...

73779f3d20-Oct-2024 LoGin <longjin@DragonOS.org>

refactor: 把dadk原有的管理用户程序编译的逻辑移动到dadk-user (#60)

* refactor: 把dadk原有的管理用户程序编译的逻辑移动到dadk-user

同时把`--dragonos-dir`改为了`--sysroot-dir`
---------

Signed-off-by: longjin <longjin@DragonOS.org>


/DADK/.github/dependabot.yml
/DADK/.github/workflows/rust.yml
/DADK/Cargo.toml
/DADK/README.md
lib.rs
/DADK/dadk-user/Cargo.toml
/DADK/dadk-user/src/console/README.md
/DADK/dadk-user/src/console/clean.rs
/DADK/dadk-user/src/console/elements.rs
/DADK/dadk-user/src/console/interactive.rs
/DADK/dadk-user/src/console/mod.rs
/DADK/dadk-user/src/console/new_config.rs
/DADK/dadk-user/src/context.rs
/DADK/dadk-user/src/executor/README.md
/DADK/dadk-user/src/executor/cache.rs
/DADK/dadk-user/src/executor/mod.rs
/DADK/dadk-user/src/executor/source.rs
/DADK/dadk-user/src/executor/target.rs
/DADK/dadk-user/src/executor/tests.rs
/DADK/dadk-user/src/lib.rs
/DADK/dadk-user/src/parser/README.md
/DADK/dadk-user/src/parser/mod.rs
/DADK/dadk-user/src/parser/task.rs
/DADK/dadk-user/src/parser/task_log.rs
/DADK/dadk-user/src/parser/tests.rs
/DADK/dadk-user/src/scheduler/README.md
/DADK/dadk-user/src/scheduler/mod.rs
/DADK/dadk-user/src/scheduler/task_deque.rs
/DADK/dadk-user/src/scheduler/tests.rs
/DADK/dadk-user/src/static_resources/mod.rs
/DADK/dadk-user/src/static_resources/targets/rust/x86_64-unknown-dragonos.json
/DADK/dadk-user/src/utils/file.rs
/DADK/dadk-user/src/utils/lazy_init.rs
/DADK/dadk-user/src/utils/mod.rs
/DADK/dadk-user/src/utils/stdio.rs
/DADK/dadk/Cargo.toml
/DADK/dadk/src/console/mod.rs
/DADK/dadk/src/lib.rs
/DADK/dadk/src/main.rs
/DADK/tests/data/dadk_config_v1/app_all_target_arch_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_target_arch_empty_should_fail_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_target_arch_riscv64_only_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_target_arch_x86_64_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_target_arch_x86_64_only_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_target_arch_x86_64_uppercase_0_1_0.dadk
/DADK/tests/parser.rs
820df76227-Apr-2024 LoGin <longjin@DragonOS.org>

test: 为executor添加环境变量检测及错误检测的测试用例,并修复了任务执行错误后仍继续运行的bug (#39)

60f366c926-Apr-2024 LoGin <longjin@DragonOS.org>

ci: 添加单元测试和集成测试 (#36)

* ci: 添加单元测试和集成测试