Subject: | Tests fail (if Aspect::Library::Profiler is not installed?) |
Some of my smoker machines report the following failure:
...
# Failed test 'use ORLite::Profile;'
# at t/01_compile.t line 13.
# Tried to use 'ORLite::Profile'.
# Error: Can't call method "new" on an undefined value at /opt/perl-5.24.0/lib/site_perl/5.24.0/Aspect.pm line 1022.
# Compilation failed in require at t/01_compile.t line 13.
# BEGIN failed--compilation aborted at t/01_compile.t line 13.
# Looks like you failed 1 test of 2.
t/01_compile.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
...
It seems that this happens if Aspect::Library::Profiler is not installed. Add this module to the requires list?
Another problem (maybe that of Aspect.pm?) is that diagnostics is virtually non-existent; I had to use strace to see what's going on.