Skip to content

Commit

Permalink
wip ghw diff tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiwi committed May 3, 2024
1 parent 677a9b0 commit 8ea1f39
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
File renamed without changes.
26 changes: 26 additions & 0 deletions tests/ghw_diff.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Copyright 2024 The Regents of the University of California
// released under BSD 3-Clause License
// author: Kevin Laeufer <[email protected]>
//
// comparing the output of the ghwdump tool and wellen


use std::sync::Once;

static COMPILE_GHW_DUMP: Once = Once::new();


fn compile_ghwdump() {

}

fn run_ghwdump(filename: &str) {
// make sure ghwdump is compiled
COMPILE_GHW_DUMP.call_once(|| compile_ghwdump());
}


#[test]
fn diff_ghdl_oscar_test() {
run_ghwdump("inputs/ghdl/oscar/test.ghw");
}

0 comments on commit 8ea1f39

Please sign in to comment.