Tests: Fix numactl on WSL2
This commit is contained in:
parent
371bf01957
commit
aa1a0b0f13
|
|
@ -20,7 +20,7 @@ compile(
|
||||||
# WSL2 gives a warning and we must skip the test:
|
# WSL2 gives a warning and we must skip the test:
|
||||||
# "physcpubind: 0 1 2 3 ...\n No NUMA support available on this system."
|
# "physcpubind: 0 1 2 3 ...\n No NUMA support available on this system."
|
||||||
my $nout = `numactl --show`;
|
my $nout = `numactl --show`;
|
||||||
if ($nout !~ /cpu/ || $nout =~ /system does not support NUMA/i) {
|
if ($nout !~ /cpu/ || $nout =~ /No NUMA support available/i) {
|
||||||
skip("No numactl available");
|
skip("No numactl available");
|
||||||
} else {
|
} else {
|
||||||
execute(
|
execute(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue