Skip Menu |

This queue is for tickets about the Mac-Apps-Launch CPAN distribution.

Report information
The Basics
Id: 8367
Status: resolved
Priority: 0/
Queue: Mac-Apps-Launch

People
Owner: cnandor [...] cpan.org
Requestors: cpan_user [...] philsplace.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.90
Fixed in: 1.91



Subject: problem with test plan
While installing on a new G5 iMac, OS version 10.3.6 I got the following: Running install for module Mac::Apps::Launch Running make for C/CN/CNANDOR/Mac-Apps-Launch-1.90.tar.gz Is already unwrapped into directory /Users/phillip/.cpan/build/Mac-Apps-Launch-1.90 Has already been processed within this session Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/launch....ok 17/23# Looks like you planned 23 tests but only ran 22. changing the plan to show 22 tests let the install finish. (Hopefully there really were only 22 tests)
Date: Thu, 11 Nov 2004 21:28:06 -0800
To: bug-Mac-Apps-Launch [...] rt.cpan.org
From: Chris Nandor <cnandor [...] cpan.org>
Subject: Re: [cpan #8367] problem with test plan
RT-Send-Cc:
At 13:14 -0500 2004.11.11, Guest via RT wrote: Show quoted text
>PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" >"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t >t/launch....ok 17/23# Looks like you planned 23 tests but only ran 22. > >changing the plan to show 22 tests let the install finish. (Hopefully there >really were only 22 tests)
Odd. Please rerun make test with `make test TEST_VERBOSE=1`, and send in the output, along with the output of `perl -V`. Thanks, -- Chris Nandor pudge@pobox.com http://pudge.net/ Open Source Technology Group pudge@ostg.com http://ostg.com/
[CNANDOR - Fri Nov 12 01:26:47 2004]: Show quoted text
> Odd. Please rerun make test with `make test TEST_VERBOSE=1`, and send > in > the output, along with the output of `perl -V`. Thanks,
(after setting the plan back to 23) It looks like having textedit or the calculator running prior to the tests throws things off. If I have one of them running, the tests fail. If I stop both of them, the tests pass. Hope this helps! --- This is with textedit running: phillip$ make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/launch....1..23 ok 1 - use Mac::Apps::Launch; ok 2 # skip Not MacPerl not ok 3 - Hide # TODO no Mac::Apps::Launch Hide/Show on Mac OS X # Failed (TODO) test (t/launch.t at line 32) not ok 4 - Show # TODO no Mac::Apps::Launch Hide/Show on Mac OS X # Failed (TODO) test (t/launch.t at line 33) ok 5 - IsRunning ok 6 - IsRunning ok 7 - SetFront ok 8 - IsRunning ok 9 - LaunchSpecs ok 10 - IsRunning ok 11 - Find /Applications/Calculator.app ok 12 - Kill /Applications/Calculator.app ok 13 - Don't find /Applications/Calculator.app ok 14 - IsRunning ok 15 - IsRunning ok 16 - LaunchSpecs ok 17 - IsRunning # Looks like you planned 23 tests but only ran 22. ok 18 - Find /Applications/TextEdit.app ok 19 # skip /Applications/TextEdit.app was previously running ok 20 # skip /Applications/TextEdit.app was previously running ok 21 # skip Mac::Apps::Launch Quit/Launch Finder ok 22 # skip Mac::Apps::Launch Quit/Launch Finder dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 23 Failed 1/23 tests, 95.65% okay (less 5 skipped tests: 17 okay, 73.91%) t/pod.......1..1 ok 1 - POD test for blib/lib/Mac/Apps/Launch.pm ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/launch.t 1 256 23 2 8.70% 23 5 subtests skipped. Failed 1/2 test scripts, 50.00% okay. 1/24 subtests failed, 95.83% okay. make: *** [test_dynamic] Error 2 phillip$ perl -V Summary of my perl5 (revision 5.0 version 8 subversion 1 RC3) configuration: Platform: osname=darwin, osvers=7.0, archname=darwin-thread-multi-2level uname='darwin hampsten 7.0 darwin kernel version 6.0: fri jul 25 16:58:41 pdt 2003; root:xnu-344.frankd.rootsxnu-344.frankd~objrelease_ppc power macintosh powerpc ' config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=-Dman3ext=3pm -Duseithreads -Duseshrplib' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-g -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include', optimize='-Os', cppflags='-no-cpp-precomp -g -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build 1495)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='-L/usr/local/lib' libpth=/usr/local/lib /usr/lib libs=-ldbm -ldl -lm -lc perllibs=-ldl -lm -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib gnulibc_version='' Dynamic Linking: dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-bundle -undefined dynamic_lookup -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: RC3 Built under darwin Compiled at Sep 12 2003 19:50:49 @INC: /System/Library/Perl/5.8.1/darwin-thread-multi-2level /System/Library/Perl/5.8.1 /Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 /Library/Perl /Network/Library/Perl/5.8.1/darwin-thread-multi-2level /Network/Library/Perl/5.8.1 /Network/Library/Perl . --------- Now comes the interesting part. I noticed that tests 19 and 20 were skipped because textedit was already running. So, I quit textedit and re-ran the tests. Here is what I got: --------- make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/launch....1..23 ok 1 - use Mac::Apps::Launch; ok 2 # skip Not MacPerl not ok 3 - Hide # TODO no Mac::Apps::Launch Hide/Show on Mac OS X # Failed (TODO) test (t/launch.t at line 32) not ok 4 - Show # TODO no Mac::Apps::Launch Hide/Show on Mac OS X # Failed (TODO) test (t/launch.t at line 33) ok 5 - IsRunning ok 6 - IsRunning ok 7 - SetFront ok 8 - IsRunning ok 9 - LaunchSpecs ok 10 - IsRunning ok 11 - Find /Applications/TextEdit.app ok 12 - Kill /Applications/TextEdit.app ok 13 - Don't find /Applications/TextEdit.app ok 14 - IsRunning ok 15 - IsRunning ok 16 - LaunchSpecs ok 17 - IsRunning ok 18 - Find /Applications/Calculator.app ok 19 - Kill /Applications/Calculator.app ok 20 - Don't find /Applications/Calculator.app ok 21 - IsRunning ok 22 # skip Mac::Apps::Launch Quit/Launch Finder ok 23 # skip Mac::Apps::Launch Quit/Launch Finder ok 3/23 skipped: various reasons t/pod.......1..1 ok 1 - POD test for blib/lib/Mac/Apps/Launch.pm ok All tests successful, 3 subtests skipped. Files=2, Tests=24, 14 wallclock secs ( 0.60 cusr + 0.28 csys = 0.88 CPU) ------- Starting textedit and running the test again caused the failure noted above. Next, I shut down textedit and started up the calculator instead. I got this: ------- phillip$ make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/launch....1..23 ok 1 - use Mac::Apps::Launch; ok 2 # skip Not MacPerl not ok 3 - Hide # TODO no Mac::Apps::Launch Hide/Show on Mac OS X # Failed (TODO) test (t/launch.t at line 32) not ok 4 - Show # TODO no Mac::Apps::Launch Hide/Show on Mac OS X # Failed (TODO) test (t/launch.t at line 33) ok 5 - IsRunning ok 6 - IsRunning ok 7 - SetFront ok 8 - IsRunning ok 9 - LaunchSpecs ok 10 - IsRunning ok 11 - Find /Applications/TextEdit.app ok 12 - Kill /Applications/TextEdit.app ok 13 - Don't find /Applications/TextEdit.app ok 14 - IsRunning ok 15 - IsRunning ok 16 - LaunchSpecs ok 17 - IsRunning # Looks like you planned 23 tests but only ran 22. ok 18 - Find /Applications/Calculator.app ok 19 # skip /Applications/Calculator.app was previously running ok 20 # skip /Applications/Calculator.app was previously running ok 21 # skip Mac::Apps::Launch Quit/Launch Finder ok 22 # skip Mac::Apps::Launch Quit/Launch Finder dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 23 Failed 1/23 tests, 95.65% okay (less 5 skipped tests: 17 okay, 73.91%) t/pod.......1..1 ok 1 - POD test for blib/lib/Mac/Apps/Launch.pm ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/launch.t 1 256 23 2 8.70% 23 5 subtests skipped. Failed 1/2 test scripts, 50.00% okay. 1/24 subtests failed, 95.83% okay. make: *** [test_dynamic] Error 2
[guest - Fri Nov 12 12:00:47 2004]: Show quoted text
> Now comes the interesting part. I noticed that tests 19 and 20 were > skipped because textedit was already running. > > So, I quit textedit and re-ran the tests. Here is what I got:
I am finally finding time to fix this stuff, and yes, that is exactly the problem, a bug in the tests for the situation where TextEdit is already running. Fixed, will upload new version soon. Thanks! -- Chris Nandor pudge@pobox.com http://pudge.net/ Open Source Development Network pudge@osdn.com http://osdn.com/
[CNANDOR - Tue Dec 7 00:28:32 2004]: Show quoted text
> I am finally finding time to fix this stuff, and yes, that is exactly > the problem, a bug in the > tests for the situation where TextEdit is already running. Fixed, > will upload new version > soon. Thanks!
Thanks! I just re-ran the tests above with the various combinations of apps opened (or not) and everything worked.
Subject: Calculator/Missing/Disabled?
From: Chriself [...] sbcglobal.net
space.bar.not.working(newOneOrdered) Problem: MyDesktopCalculatorHas"Disappeared" Looked.everywhere.I.could.think.of. What.to.Do? ChrisSelf
Subject: Re: [rt.cpan.org #8367] Calculator/Missing/Disabled?
Date: Sun, 23 Apr 2006 17:48:51 -0700
To: bug-Mac-Apps-Launch [...] rt.cpan.org
From: Chris Nandor <cnandor [...] cpan.org>
At 4:34 -0400 2006.04.22, Guest via RT wrote: Show quoted text
> Queue: Mac-Apps-Launch > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=8367 > > >space.bar.not.working(newOneOrdered) > >Problem: >MyDesktopCalculatorHas"Disappeared" > >Looked.everywhere.I.could.think.of. > >What.to.Do?
First: I have no idea what a "desktop calculator" means in this context. Second: Please do not re-open a resolved bug report unless this has something to do with that bug report. It doesn't. Create a new bug report if there's a problem, and please explain what that problem is. Thanks, -- Chris Nandor pudge@pobox.com http://pudge.net/ Open Source Technology Group pudge@ostg.com http://ostg.com/