Comments (3)
I am also facing same issue.
from collectd-top.
@rajeshbabukolli @royobrecht Fixed the issue.
from collectd-top.
Make test failed, this is my output
#make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/.t
t/Collectd-Plugins-Top.t .. 1/1
Failed test 'use Collectd::Plugins::Top;'
at t/Collectd-Plugins-Top.t line 12.
Tried to use 'Collectd::Plugins::Top'.
Error: Bareword "LOG_ERR" not allowed while "strict subs" in use at /usr/share/perl5/Collectd.pm line 165.
Bareword "TYPE_CONFIG" not allowed while "strict subs" in use at /usr/share/perl5/Collectd.pm line 119.
Bareword "TYPE_INIT" not allowed while "strict subs" in use at /usr/share/perl5/Collectd.pm line 119.
Bareword "TYPE_READ" not allowed while "strict subs" in use at /usr/share/perl5/Collectd.pm line 119.
Bareword "TYPE_WRITE" not allowed while "strict subs" in use at /usr/share/perl5/Collectd.pm line 119.
Bareword "TYPE_SHUTDOWN" not allowed while "strict subs" in use at /usr/share/perl5/Collectd.pm line 119.
Bareword "TYPE_LOG" not allowed while "strict subs" in use at /usr/share/perl5/Collectd.pm line 119.
Bareword "TYPE_NOTIF" not allowed while "strict subs" in use at /usr/share/perl5/Collectd.pm line 119.
Bareword "TYPE_FLUSH" not allowed while "strict subs" in use at /usr/share/perl5/Collectd.pm line 119.
Bareword "FC_MATCH" not allowed while "strict subs" in use at /usr/share/perl5/Collectd.pm line 130.
Bareword "FC_TARGET" not allowed while "strict subs" in use at /usr/share/perl5/Collectd.pm line 130.
Bareword "FC_MATCH" not allowed while "strict subs" in use at /usr/share/perl5/Collectd.pm line 135.
Bareword "FC_TARGET" not allowed while "strict subs" in use at /usr/share/perl5/Collectd.pm line 135.
Bareword "FC_CB_EXEC" not allowed while "strict subs" in use at /usr/share/perl5/Collectd.pm line 140.
Bareword "FC_CB_CREATE" not allowed while "strict subs" in use at /usr/share/perl5/Collectd.pm line 140.
Bareword "FC_CB_DESTROY" not allowed while "strict subs" in use at /usr/share/perl5/Collectd.pm line 140.
Compilation failed in require at /../../../collectd/top-plugin/collectd-top/blib/lib/Collectd/Plugins/Top.pm line 6.
BEGIN failed--compilation aborted at /../../../collectd/top-plugin/collectd-top/blib/lib/Collectd/Plugins/Top.pm line 6.
Compilation failed in require at t/Collectd-Plugins-Top.t line 12.
BEGIN failed--compilation aborted at t/Collectd-Plugins-Top.t line 12.
Looks like you failed 1 test of 1.
t/Collectd-Plugins-Top.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/Collectd-top.t .......... Array found where operator expected at t/Collectd-top.t line 12, at end of line
(Do you need to predeclare top?)
t/Collectd-top.t .......... 1/1
Failed test 'use Collectd-top;'
at t/Collectd-top.t line 12.
Tried to use 'Collectd-top'.
Error: syntax error at t/Collectd-top.t line 12, near "top @"
Looks like you failed 1 test of 1.
t/Collectd-top.t .......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
Test Summary Report
t/Collectd-Plugins-Top.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/Collectd-top.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=2, Tests=2, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.03 cusr 0.00 csys = 0.06 CPU)
Result: FAIL
Failed 2/2 test programs. 2/2 subtests failed.
Makefile:805: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 1
from collectd-top.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from collectd-top.