Hi again,
Yes, AppleEvents/t/event and AppleEvents/t/desc were both failing
with the same error message:
=======================================================================
AppleEvents/t/event............NOK 2# Failed test 'require '"$Bin/
helper.pl"';'
# in AppleEvents/t/event.t at line 11.
# Tried to require ''"$Bin/helper.pl"''.
[...].
AppleEvents/t/desc.............NOK 2# Failed test 'require '"$Bin/
helper.pl"';'
# in AppleEvents/t/desc.t at line 11.
# Tried to require ''"$Bin/helper.pl"''.
=======================================================================
> Second, do you have the file AppleEvents/t/helper.pl?
Yep, present and correct.
> Finally, you can hardcode the path to helper.pl in desc.t and
event.t and
run the tests again.
OK: after a bit of head-scratching and a few failed attempts to do
this I scrounged together the following modification to the BEGIN
block for both desc.t and event.t:
BEGIN {
use_ok('Mac::AppleEvents');
# require_ok('"$Bin/helper.pl"');
push @INC,"/Users/pmccann/Desktop/downloaded/Mac-Carbon-0.75/
AppleEvents/t";
require_ok("helper.pl");
}
With that in place we get success:
% make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t */t/*.t
AppleEvents/t/desc.............ok
AppleEvents/t/event............ok
Components/t/Components........ok
Files/t/Alias..................ok
1/17 skipped: This fails on both UFS and Intel ... so just
stop caring. It's deprecated.
Files/t/Constants..............ok
Files/t/Files..................ok
Files/t/Info...................ok
Gestalt/t/Gestalt..............ok
MacPerl/t/MacPerl..............ok
3/13 skipped: Set MAC_CARBON_GUI in env to run tests
Memory/t/Memory................ok
MoreFiles/t/MoreFiles..........ok
Notification/t/Notification....ok
11/11 skipped: Set MAC_CARBON_GUI in env to run tests
Processes/t/Processes..........ok
2/6 skipped: No parent available
Resources/t/Resources..........ok
Sound/t/Sound..................ok
Speech/t/Speech................ok
t/Carbon.......................ok
Types/t/Types..................ok
All tests successful, 17 subtests skipped.
Files=18, Tests=2958, 33 wallclock secs ( 2.08 cusr + 0.81 csys =
2.89 CPU)
Cheers,
Paul