/DADK/docs/.vuepress/ |
H A D | config.js | 1 import { viteBundler } from '@vuepress/bundler-vite' 2 import { defaultTheme } from '@vuepress/theme-default' 3 import { defineUserConfig } from 'vuepress'
|
/DADK/dadk-config/src/ |
H A D | manifest.rs | 155 PathBuf::from("config/rootfs-x86_64.toml") 159 PathBuf::from("config/hypervisor-x86_64.toml") in test_load_invalid_toml() 163 PathBuf::from("config/boot-x86_64.toml") in test_load_invalid_toml() 165 assert_eq!(manifest.metadata.sysroot_dir, PathBuf::from("bin/sysroot")); in test_load_invalid_toml() 174 let path = PathBuf::from("non_existent_file.toml"); 253 PathBuf::from("config/rootfs.toml") 257 PathBuf::from("config/hypervisor.toml") 261 PathBuf::from("config/boot.toml")
|
H A D | manifest.rs | 155 PathBuf::from("config/rootfs-x86_64.toml") in test_full_load_success() 159 PathBuf::from("config/hypervisor-x86_64.toml") in test_full_load_success() 163 PathBuf::from("config/boot-x86_64.toml") in test_full_load_success() 165 assert_eq!(manifest.metadata.sysroot_dir, PathBuf::from("bin/sysroot")); in test_full_load_success() 174 let path = PathBuf::from("non_existent_file.toml"); in test_load_file_not_found() 253 PathBuf::from("config/rootfs.toml") in test_load_default_config_path_value() 257 PathBuf::from("config/hypervisor.toml") in test_load_default_config_path_value() 261 PathBuf::from("config/boot.toml") in test_load_default_config_path_value()
|
H A D | manifest.rs | 155 PathBuf::from("config/rootfs-x86_64.toml") in test_load_invalid_toml() 159 PathBuf::from("config/hypervisor-x86_64.toml") in test_load_invalid_toml() 163 PathBuf::from("config/boot-x86_64.toml") in test_load_invalid_arch_toml() 165 assert_eq!(manifest.metadata.sysroot_dir, PathBuf::from("bin/sysroot")); in test_load_invalid_arch_toml() 174 let path = PathBuf::from("non_existent_file.toml"); in test_load_invalid_arch_toml() 253 PathBuf::from("config/rootfs.toml") 257 PathBuf::from("config/hypervisor.toml") 261 PathBuf::from("config/boot.toml")
|
H A D | manifest.rs | 155 PathBuf::from("config/rootfs-x86_64.toml") in test_load_invalid_toml() 159 PathBuf::from("config/hypervisor-x86_64.toml") in test_load_invalid_toml() 163 PathBuf::from("config/boot-x86_64.toml") in test_load_invalid_arch_toml() 165 assert_eq!(manifest.metadata.sysroot_dir, PathBuf::from("bin/sysroot")); in test_load_invalid_arch_toml() 174 let path = PathBuf::from("non_existent_file.toml"); in test_load_invalid_arch_toml() 253 PathBuf::from("config/rootfs.toml") 257 PathBuf::from("config/hypervisor.toml") 261 PathBuf::from("config/boot.toml")
|
/DADK/dadk-user/src/executor/ |
H A D | target.rs |
|
/DADK/dadk-config/tests/ |
H A D | test_user_config.rs | 56 Some(PathBuf::from("config/pre_build.sh")), in test_parse_dadk_user_config() 57 Some(PathBuf::from("config/post_build.sh")), in test_parse_dadk_user_config() 59 install: InstallConfig::new(Some(PathBuf::from("/bin"))), in test_parse_dadk_user_config()
|
/DADK/crates/test_base/src/ |
H A D | dadk_config.rs | 34 let mut test_base_path = PathBuf::from(env!("CARGO_MANIFEST_DIR")); in setup() 59 let expected_path = PathBuf::from(env!("CARGO_MANIFEST_DIR")) in test_test_base_path()
|
H A D | global.rs | 69 let mut project_base_path = PathBuf::from(env!("CARGO_MANIFEST_DIR")); in setup() 89 let binding = PathBuf::from(env!("CARGO_MANIFEST_DIR")); in test_project_base_path()
|
/DADK/dadk-config/templates/config/ |
H A D | userapp_config.toml | 24 # 可选值:"build-from_source", "install-from-prebuilt" 25 type = "build-from-source"
|
H A D | userapp_config.toml | 24 # 可选值:"build-from_source", "install-from-prebuilt" 25 type = "build-from-source"
|
H A D | userapp_config.toml | 24 # 可选值:"build-from_source", "install-from-prebuilt" 25 type = "build-from-source"
|
/DADK/dadk-user/tests/ |
H A D | test_parse_dadk_user_config.rs |
|
H A D | test_parse_dadk_user_config.rs |
|
/DADK/tests/data/dadk_config_v2/ |
H A D | app_target_arch_x86_64_only_0_2_0.toml | 9 type = "build-from-source"
|
H A D | app_target_arch_riscv64_only_0_2_0.toml | 9 type = "build-from-source"
|
H A D | app_all_target_arch_0_2_0.toml | 9 type = "build-from-source"
|
H A D | app_normal_with_env_0_2_0.toml | 9 type = "build-from-source"
|
H A D | app_normal_with_env_fail_0_2_0.toml | 9 type = "build-from-source"
|
/DADK/ |
H A D | .gitignore | 5 # Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
|
/DADK/dadk-config/src/rootfs/ |
H A D | mod.rs | 66 let config_path = PathBuf::from(temp_file.path()); 82 .expect("Failed to load config from str"); in test_load_from_invalid_fs_type() 107 .expect("Failed to load config from str"); in test_load_from_valid_str_size_bytes_str() 121 .expect("Failed to load config from str"); in test_load_from_invalid_file() 130 let config_path = PathBuf::from(temp_file.path()); in test_load_from_invalid_size_str() 135 /// Parse from an incorrect size field (string) in test_load_from_invalid_size_str() 147 /// Parse from an incorrect size field (array) in test_load_from_invalid_size_array()
|
H A D | mod.rs | 66 let config_path = PathBuf::from(temp_file.path()); in test_load_from_valid_file() 130 let config_path = PathBuf::from(temp_file.path()); in test_load_from_invalid_file()
|
/DADK/dadk/src/context/ |
H A D | manifest.rs | 16 let manifest_path = abs_path(&PathBuf::from(workdir)).join(manifest_path); in parse_manifest()
|
/DADK/dadk-user/src/parser/ |
H A D | mod.rs |
|
H A D | tests.rs |
|