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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 6 deletions

View File

@ -10,13 +10,16 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
if (!$Self->have_solver) {
skip("No constraint solver installed");
} else {
compile(
);
execute(
check_finished => 1,
);
}
ok(1);
1;