From a4dbc8856bde32ca0990104d20902413f5377a6c Mon Sep 17 00:00:00 2001 From: Clo91eaf Date: Mon, 18 Mar 2024 19:51:46 +0800 Subject: [PATCH] fix ci bug. --- tests/am-tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/am-tests.rs b/tests/am-tests.rs index 345e97d..cd7fcf2 100644 --- a/tests/am-tests.rs +++ b/tests/am-tests.rs @@ -12,10 +12,10 @@ mod rv64ui_p { #[test] fn $name() -> anyhow::Result<()> { let mut root = PathBuf::from(env!("CARGO_MANIFEST_DIR")); - root.push("dependencies/tests/am-tests"); + root.push("dependencies/tests/bin/am-tests"); root.push(stringify!($name).to_owned().replace("_", "-")); - let mut file = File::open("/tmp/bin")?; + let mut file = File::open(root)?; let mut data = Vec::new(); file.read_to_end(&mut data)?;