mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-26 02:43:24 +00:00
Switch to EFI boot and use official release for QEMU and GDB
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
aea8f38dc1
commit
cdc2b960dc
@ -24,7 +24,7 @@ static CARGO_COMPONENT_PATH: LazyLock<PathBuf> = LazyLock::new(|| {
|
||||
});
|
||||
|
||||
pub fn run_cargo_component(test_name: &str) -> String {
|
||||
let root_dir = PathBuf::from(std::env::var("CARGO_MANIFEST_DIR").unwrap());
|
||||
let root_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
|
||||
let target_dir = root_dir.join("target").join(test_name);
|
||||
let cwd = root_dir.join("tests").join(test_name);
|
||||
let output = cargo_clean(&cwd, &target_dir);
|
||||
|
@ -199,7 +199,7 @@ fn calculate_priority(
|
||||
}
|
||||
|
||||
fn metadata() -> json::JsonValue {
|
||||
let mut cmd = Command::new(std::env::var("CARGO").unwrap());
|
||||
let mut cmd = Command::new(env!("CARGO"));
|
||||
cmd.arg("metadata");
|
||||
cmd.arg("--format-version").arg("1");
|
||||
let output = cmd.output().unwrap();
|
||||
|
Reference in New Issue
Block a user