Tests: Skip t_constraint_state when no solver is installed (#5224)

This commit is contained in:
Geza Lore
2024-07-04 11:42:53 +01:00
committed by GitHub
parent ca4858eb7f
commit dace2c0a9a
+9 -6
View File
@@ -10,13 +10,16 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
compile(
);
execute(
check_finished => 1,
);
if (!$Self->have_solver) {
skip("No constraint solver installed");
} else {
compile(
);
execute(
check_finished => 1,
);
}
ok(1);
1;