Skip to content

Commit

Permalink
test: remove hir2_sketch* tests (not needed anymore)
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat committed Feb 21, 2025
1 parent 8d29070 commit 11d6689
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions tests/integration/src/rust_masm_tests/rust_sdk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,38 +220,6 @@ fn rust_sdk_cross_ctx_note() {
let trace = exec.execute(&package.unwrap_program(), &test.session);
}

#[test]
fn rust_sdk_hir2_sketch_multiple_interface_exports() {
// Testing the new frontend's Wasm component translator producing HIR2(sketch)
// from a Wasm component exporting two interfaces
let _ = env_logger::builder().is_test(true).try_init();
let config = WasmTranslationConfig::default();
let mut test = CompilerTest::rust_source_cargo_miden(
"../rust-apps-wasm/rust-sdk/basic-wallet",
config,
[],
);
let artifact_name = "hir2_sketch_multi_interface";
test.expect_wasm(expect_file![format!("../../expected/rust_sdk/{artifact_name}.wat")]);
test.expect_ir2(expect_file![format!("../../expected/rust_sdk/{artifact_name}.hir")]);
}

#[test]
fn rust_sdk_hir2_single_interface_export() {
// Testing the new frontend's Wasm component translator producing HIR2(sketch)
// from a Wasm component exporting one interface
let _ = env_logger::builder().is_test(true).try_init();
let config = WasmTranslationConfig::default();
let mut test = CompilerTest::rust_source_cargo_miden(
"../rust-apps-wasm/rust-sdk/cross-ctx-account",
config,
[],
);
let artifact_name = "hir2_sketch_single_interface";
test.expect_wasm(expect_file![format!("../../expected/rust_sdk/{artifact_name}.wat")]);
test.expect_ir2(expect_file![format!("../../expected/rust_sdk/{artifact_name}.hir")]);
}

#[test]
fn pure_rust_hir2() {
let _ = env_logger::builder().is_test(true).try_init();
Expand Down

0 comments on commit 11d6689

Please sign in to comment.