mirror of
https://github.com/verilator/verilator.git
synced 2025-01-08 15:47:36 +00:00
Tests: Skip genhtml if too old
This commit is contained in:
parent
1e0d5eb238
commit
7834028842
@ -39,9 +39,11 @@ run(cmd => ["../bin/verilator_coverage",
|
|||||||
);
|
);
|
||||||
|
|
||||||
# If installed
|
# If installed
|
||||||
if (`lcov --help` !~ /Usage:/
|
if (`lcov --version` !~ /version/i
|
||||||
|| `genhtml --help` !~ /Usage:/) {
|
|| `genhtml --version` !~ /version ([0-9.]+)/i) {
|
||||||
skip("lcov or genhtml not installed");
|
skip("lcov or genhtml not installed");
|
||||||
|
} elsif ($1 < 1.14) {
|
||||||
|
skip("lcov or genhtml too old (version $1), need version >= 1.14");
|
||||||
} else {
|
} else {
|
||||||
run(cmd => ["genhtml",
|
run(cmd => ["genhtml",
|
||||||
"$Self->{obj_dir}/coverage.info",
|
"$Self->{obj_dir}/coverage.info",
|
||||||
|
Loading…
Reference in New Issue
Block a user