Subject: | nproc not available everywhere |
The test suite fails on freebsd systems:
...
Can't exec "nproc": No such file or directory at /usr/perl5.28.1Dp/lib/site_perl/5.28.1/Data/Table/Text.pm line 2866.
Compilation failed in require at /usr/perl5.28.1Dp/lib/site_perl/5.28.1/Data/Edit/Xml.pm line 21.
BEGIN failed--compilation aborted at /usr/perl5.28.1Dp/lib/site_perl/5.28.1/Data/Edit/Xml.pm line 21.
Compilation failed in require at lib/Data/Edit/Xml/Xref.pm line 29.
BEGIN failed--compilation aborted at lib/Data/Edit/Xml/Xref.pm line 29.
Compilation failed in require at test.pl line 9.
BEGIN failed--compilation aborted at test.pl line 9.
Argument "" isn't numeric in multiplication (*) at lib/Data/Edit/Xml/Xref.pm line 169, <DATA> line 1121.
# Looks like your test exited with 25 just after 13.
test.pl ..
Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 60/73 subtests
...
nproc is probably a linux-specific program, and not available everywhere (maybe not even on all linux distributions).