mirror of
https://github.com/verilator/verilator.git
synced 2025-05-01 13:06:56 +00:00
Tests: Fix numactl on WSL2
This commit is contained in:
parent
ef7759a522
commit
371bf01957
@ -17,7 +17,10 @@ compile(
|
|||||||
$Self->wno_unopthreads_for_few_cores()]
|
$Self->wno_unopthreads_for_few_cores()]
|
||||||
);
|
);
|
||||||
|
|
||||||
if (`numactl --show` !~ /cpu/) {
|
# WSL2 gives a warning and we must skip the test:
|
||||||
|
# "physcpubind: 0 1 2 3 ...\n No NUMA support available on this system."
|
||||||
|
my $nout = `numactl --show`;
|
||||||
|
if ($nout !~ /cpu/ || $nout =~ /system does not support NUMA/i) {
|
||||||
skip("No numactl available");
|
skip("No numactl available");
|
||||||
} else {
|
} else {
|
||||||
execute(
|
execute(
|
||||||
|
Loading…
Reference in New Issue
Block a user