Tests: Skip t_constraint_state when no solver is installed (#5224)
This commit is contained in:
parent
ca4858eb7f
commit
dace2c0a9a
|
|
@ -10,13 +10,16 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||||
|
|
||||||
scenarios(simulator => 1);
|
scenarios(simulator => 1);
|
||||||
|
|
||||||
compile(
|
if (!$Self->have_solver) {
|
||||||
);
|
skip("No constraint solver installed");
|
||||||
|
} else {
|
||||||
execute(
|
compile(
|
||||||
check_finished => 1,
|
);
|
||||||
);
|
|
||||||
|
|
||||||
|
execute(
|
||||||
|
check_finished => 1,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
ok(1);
|
ok(1);
|
||||||
1;
|
1;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue