Tests: Skip t_suspendable_deep if coroutines are not supported by CXX toolchain (#4217)

This commit is contained in:
Krzysztof Boroński 2023-05-23 20:02:40 +02:00 committed by GitHub
parent 167a30be1c
commit fb0d735f68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,9 +10,14 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(vlt => 1);
compile(
verilator_flags2 => ["--timing"],
);
if (!$Self->have_coroutines) {
skip("No coroutine support");
}
else {
compile(
verilator_flags2 => ["--timing"],
);
}
ok(1);
1;