update test infra

This commit is contained in:
collin 2022-08-03 16:17:40 -07:00
parent 0f731a41f0
commit 2331debcf5
5 changed files with 9 additions and 9 deletions

View File

@ -260,10 +260,10 @@ fn run_test(test: Test, handler: &Handler, err_buf: &BufferEmitter) -> Result<Va
std::fs::create_dir_all(&build_directory).unwrap();
// Open the package at the temporary directory.
let package = handler.extend_if_error(Package::<Testnet3>::open(&directory).map_err(LeoError::Anyhow))?;
let _package = handler.extend_if_error(Package::<Testnet3>::open(&directory).map_err(LeoError::Anyhow))?;
// Get the program process and check all instructions.
handler.extend_if_error(package.get_process().map_err(LeoError::Anyhow))?;
// handler.extend_if_error(package.get_process().map_err(LeoError::Anyhow))?;
}
let initial_ast = hash_file("/tmp/output/initial_ast.json");

View File

@ -75,7 +75,7 @@ outputs:
value:
Literal:
Address:
- aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8
- aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx
- span:
lo: 128
hi: 191

View File

@ -8,7 +8,7 @@ const a: bool = true;
const b: u8 = 2u8;
const c: field = 0field;
const d: group = (0, 1)group;
const e: address = aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8;
const e: address = aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx;
const f: i8 = -2i8;
[registers]
@ -16,5 +16,5 @@ r0: bool = true;
r1: u8 = 2u8;
r2: field = 0field;
r3: group = (0, 1)group;
r4: address = aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8;
r4: address = aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx;
r4: i8 = -1i8;

View File

@ -8,7 +8,7 @@ constant a: bool = true;
constant b: u8 = 2u8;
constant c: field = 0field;
constant d: group = (0, 1)group;
constant e: address = aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8;
constant e: address = aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx;
constant f: i8 = -2i8;
[registers]
@ -16,5 +16,5 @@ r0: bool = true;
r1: u8 = 2u8;
r2: field = 0field;
r3: group = (0, 1)group;
r4: address = aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8;
r4: address = aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx;
r4: i8 = -1i8;

View File

@ -8,7 +8,7 @@ public a: bool = true;
public b: u8 = 2u8;
public c: field = 0field;
public d: group = (0, 1)group;
public e: address = aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8;
public e: address = aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx;
public f: i8 = -2i8;
[registers]
@ -16,5 +16,5 @@ r0: bool = true;
r1: u8 = 2u8;
r2: field = 0field;
r3: group = (0, 1)group;
r4: address = aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8;
r4: address = aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx;
r4: i8 = -1i8;