Tests: Skip unstability

This commit is contained in:
Wilson Snyder 2021-09-04 13:48:16 -04:00
parent 72f198d79e
commit 8519dc1383

View File

@ -10,6 +10,13 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(dist => 1); scenarios(dist => 1);
if (1) {
skip("Skipping due to unstability with cpuinfo");
} else {
check();
}
sub check {
run(cmd => ["cd $Self->{obj_dir} && $ENV{VERILATOR_ROOT}/bin/verilator_gantt $Self->{t_dir}/t_gantt_io.dat > gantt.log"], run(cmd => ["cd $Self->{obj_dir} && $ENV{VERILATOR_ROOT}/bin/verilator_gantt $Self->{t_dir}/t_gantt_io.dat > gantt.log"],
check_finished => 0); check_finished => 0);
@ -18,5 +25,6 @@ files_identical("$Self->{obj_dir}/gantt.log", $Self->{golden_filename});
vcd_identical("$Self->{obj_dir}/profile_threads.vcd", "$Self->{t_dir}/t_gantt_io_vcd.out"); vcd_identical("$Self->{obj_dir}/profile_threads.vcd", "$Self->{t_dir}/t_gantt_io_vcd.out");
ok(1); ok(1);
}
1; 1;