Open phinjensen opened 11 years ago
Author: Rainer Rynesch (rainer.rynesch@manova.at) Date: 2012-09-17 07:53:05 EDT
also tested with the git version - same result
Author: Collin Peters Date: 2012-11-09 20:12:00 EST
Looks like you are missing DBI. I installed it on my debian box with sudo apt-get install libdbi-perl
It still fails for me though:
Could not open 'pgsi_test_database/postgresql.conf": No such file or directory
intouch@monitoring1:~/pglogs/apps/pgsi-1.7.0 make test
Skip tmp/pgsi.pl (unchanged)
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'tmp', 'blib/arch')" t/*.t
t/00_basic.t ....... ok
t/00_release.t ..... skipped: Test skipped unless environment variable
RELEASE_TESTING is set
t/00_signature.t ... skipped: Set the environment variable TEST_SIGNATURE to
enable this test
t/02_pgsi.t ........ 1/6 # Creating test database cluster in pgsi_test_database
Could not open "pgsi_test_database/postgresql.conf": No such file or directory
# Looks like you planned 6 tests but ran 1.
# Looks like your test exited with 2 just after 1.
t/02_pgsi.t ........ Dubious, test returned 2 (wstat 512, 0x200)
Failed 5/6 subtests
t/99_cleanup.t ..... ok
t/99_perlcritic.t .. skipped: Set the environment variable TEST_CRITIC to
enable this test
t/99_pod.t ......... skipped: Set the environment variable TEST_AUTHOR to
enable this test
t/99_spellcheck.t .. skipped: Set the environment variable TEST_SPELL to enable
this test
t/99_yaml.t ........ ok
Test Summary Report
-------------------
t/02_pgsi.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 6 tests but ran 1.
Files=9, Tests=5, 0 wallclock secs ( 0.04 usr 0.03 sys + 0.35 cusr 0.07
csys = 0.49 CPU)
Result: FAIL
Failed 1/9 test programs. 0/5 subtests failed.
make: *** [test_dynamic] Error 255
ID: 112 Version: unspecified Date: 2012-09-17 07:48 EDT Author: Rainer Rynesch (rainer.rynesch@manova.at)
https://gist.github.com/uncleshelby/5852274
Install pgsi like any other Perl module:
If you find any problems when running the above, please report them!