History log of /DADK/tests/data/ (Results 1 – 8 of 8)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
a013ae1216-Nov-2024 LoGin <longjin@DragonOS.org>

refactor: 删除rust_target字段 (#83)

c6f35e8a11-Nov-2024 LoGin <longjin@DragonOS.org>

feat: 创建磁盘镜像并格式化 (#74)

* feat: 创建磁盘镜像并格式化

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

---------

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

d2ade6ef08-Nov-2024 Jomo <xuzihao@dragonos.org>

feat(dadk-config) (#72)

* 删除rust_target

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

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

* patch

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

feat(dadk): 新的console & dadk-insiders测试目标 (#70)

- 把用户程序编译的功能改到了`dadk user`命令目录下
- 添加了用于开发测试的二进制文件`dadk-insiders`: 使用命令`cargo install --bin dadk-insiders --path ./dadk`即可安装. 开发测试不会跟已有的dadk冲突

Sign

feat(dadk): 新的console & dadk-insiders测试目标 (#70)

- 把用户程序编译的功能改到了`dadk user`命令目录下
- 添加了用于开发测试的二进制文件`dadk-insiders`: 使用命令`cargo install --bin dadk-insiders --path ./dadk`即可安装. 开发测试不会跟已有的dadk冲突

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

show more ...

5129c63b27-Oct-2024 Jomo <xuzihao@dragonos.org>

Xuzihao/feat dadk user (#71)

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

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

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

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

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


/DADK/.github/dependabot.yml
/DADK/.github/workflows/rust.yml
/DADK/Cargo.toml
/DADK/crates/test_base/Cargo.toml
/DADK/crates/test_base/src/dadk_config.rs
/DADK/crates/test_base/src/dadk_user.rs
/DADK/crates/test_base/src/global.rs
/DADK/crates/test_base/src/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/common/mod.rs
/DADK/dadk-config/src/common/target_arch.rs
/DADK/dadk-config/src/lib.rs
/DADK/dadk-config/src/manifest.rs
/DADK/dadk-config/src/rootfs/fstype.rs
/DADK/dadk-config/src/rootfs/mod.rs
/DADK/dadk-config/src/rootfs/utils/mod.rs
/DADK/dadk-config/src/rootfs/utils/size.rs
/DADK/dadk-config/src/user/mod.rs
/DADK/dadk-config/src/utils.rs
/DADK/dadk-config/templates/config/boot.toml
/DADK/dadk-config/templates/config/rootfs.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/Cargo.toml
/DADK/dadk-user/src/console/clean.rs
/DADK/dadk-user/src/console/mod.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/config.rs
/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/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-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/Cargo.toml
/DADK/dadk/src/console.rs
/DADK/dadk/src/lib.rs
/DADK/dadk/src/main.rs
dadk_config_v2/app_all_target_arch_0_2_0.toml
dadk_config_v2/app_normal_with_env_0_2_0.toml
dadk_config_v2/app_normal_with_env_fail_0_2_0.toml
dadk_config_v2/app_target_arch_riscv64_only_0_2_0.toml
dadk_config_v2/app_target_arch_x86_64_only_0_2_0.toml
9efba7ee27-Apr-2024 LoGin <longjin@DragonOS.org>

feat: 添加target_arch字段,实现根据不同的架构来自动编译对应的包。 (#42)

* feat: 添加target_arch字段,实现根据不同的架构来自动编译对应的包。

在dadk配置文件内添加target_arch字段,实现根据不同的架构来自动编译对应的包。

## DADK 在运行时如何获得“当前编译的目标架构?”

按照以下顺序获取(一旦获取成功就不会继续尝试

feat: 添加target_arch字段,实现根据不同的架构来自动编译对应的包。 (#42)

* feat: 添加target_arch字段,实现根据不同的架构来自动编译对应的包。

在dadk配置文件内添加target_arch字段,实现根据不同的架构来自动编译对应的包。

## DADK 在运行时如何获得“当前编译的目标架构?”

按照以下顺序获取(一旦获取成功就不会继续尝试其他方法来获取)
1. 根据命令行传入的`--target-arch`字段获取
2. 根据`ARCH`环境变量获取
3. 如果都获取不到,则默认设置为x86_64

## 哪些任务将会被执行?

如果dadk配置文件没有指定target_arch,那么该字段的默认值的获取顺序为:
1. 根据`ARCH`环境变量获取
2. 如果获取不到,则默认设置为x86_64

当任务的`target_arch`字段包含了当前编译的目标架构时,任务将会被执行。

show more ...

820df76227-Apr-2024 LoGin <longjin@DragonOS.org>

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

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

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

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