From 1a27c2ffc05e88b18d37ad3d0ac6386045bd73f6 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Mon, 28 Aug 2023 11:44:12 +0200 Subject: [PATCH] more robust netlist_test proc in xschemtest.tcl --- tests/xschemtest.tcl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/xschemtest.tcl b/tests/xschemtest.tcl index a6b284e5..ee283b7e 100644 --- a/tests/xschemtest.tcl +++ b/tests/xschemtest.tcl @@ -206,10 +206,11 @@ proc netlist_test {} { } { xschem set netlist_type $t xschem load [abs_sym_path $f] - xschem netlist if {$t eq {verilog}} { set t v} if {$t eq {tedax}} { set t tdx} set netlist_file $netlist_dir/[file rootname $f].$t + file delete $netlist_file + xschem netlist ## check netlist hashes, compare with gold hashes set netlist_hash [xschem hash_file $netlist_file 1] if { $netlist_hash == $h } {