mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-08 05:38:19 +00:00
Remove test-setup test
This commit is contained in:
@@ -1948,23 +1948,6 @@ pub(super) mod utils {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
|
||||||
fn test_setup() {
|
|
||||||
use std::str::FromStr;
|
|
||||||
let setup = get_cross_compile_setup(
|
|
||||||
&mut CrossCompile::default(),
|
|
||||||
&Triple::from_str("x86_64-unknown-linux-gnu").unwrap(),
|
|
||||||
&Path::new("/tmp"),
|
|
||||||
&ObjectFormat::Symbols,
|
|
||||||
)
|
|
||||||
.unwrap();
|
|
||||||
|
|
||||||
let library_str = format!("{}", setup.library.display());
|
|
||||||
let err = format!("failed to get linux-amd64.tar.gz: {library_str}");
|
|
||||||
let s = Box::leak(err.into_boxed_str()) as &'static str;
|
|
||||||
assert!(library_str.contains("linux-amd64"), s);
|
|
||||||
}
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_normalize_atom_name() {
|
fn test_normalize_atom_name() {
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
|
|||||||
Reference in New Issue
Block a user