mirror of
https://github.com/encounter/objdiff.git
synced 2025-07-27 07:25:37 +00:00
Remove temporary test
This commit is contained in:
parent
0fb7f3901c
commit
8fac63c42c
@ -99,17 +99,3 @@ fn read_vmx128_coff() {
|
|||||||
let output = common::display_diff(&obj, &diff, symbol_idx, &diff_config);
|
let output = common::display_diff(&obj, &diff, symbol_idx, &diff_config);
|
||||||
insta::assert_snapshot!(output);
|
insta::assert_snapshot!(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
|
||||||
#[cfg(feature = "ppc")]
|
|
||||||
fn read_dummy() {
|
|
||||||
let diff_config = diff::DiffObjConfig { combine_data_sections: true, ..Default::default() };
|
|
||||||
let obj = obj::read::parse(include_object!("data/ppc/dummy.obj"), &diff_config).unwrap();
|
|
||||||
insta::assert_debug_snapshot!(obj);
|
|
||||||
let symbol_idx =
|
|
||||||
obj.symbols.iter().position(|s| s.name == "?FloatingPointExample@@YAXXZ").unwrap();
|
|
||||||
let diff = diff::code::no_diff_code(&obj, symbol_idx, &diff_config).unwrap();
|
|
||||||
insta::assert_debug_snapshot!(diff.instruction_rows);
|
|
||||||
let output = common::display_diff(&obj, &diff, symbol_idx, &diff_config);
|
|
||||||
insta::assert_snapshot!(output);
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user