Re: Testsuites and External Dependancies?

2012-12-06 Thread Ashley Hindmarsh
> Message: 1 > Date: Thu, 6 Dec 2012 07:48:11 -0500 > From: Mark Fowler > Subject: Testsuites and External Dependancies? > To: " London. pm Perl M[ou]ngers " > Message-ID: > Content-Type: text/plain; charset="utf-8" > > Hello my fellow Perl Mong

Re: Testsuites and External Dependancies?

2012-12-06 Thread Mark Fowler
On Thursday, 6 December 2012 at 11:34, Yitzchak Scott-Thoennes wrote: > you may want to prompt "No Engine running; start it > before continuing. Proceed? (Y/N)" with a default of N (upon which > you exit 0). Good idea. http://git.io/NOWuPQ Mark.

Re: Testsuites and External Dependancies?

2012-12-06 Thread Yitzchak Scott-Thoennes
On Thu, Dec 6, 2012 at 4:48 AM, Mark Fowler wrote: > 1) Detect using ps if Keyboard Maestro Engine is running and skip the tests > if it's not (and leave the user to wonder why my module passes tests and > doesn't work.) Is there a distinction between the engine running and the program installe

Re: Testsuites and External Dependancies?

2012-12-06 Thread Mark Fowler
On Thursday, 6 December 2012 at 09:17, Gianni Ceccarelli wrote: > "How can I stop getting FAIL reports for missing libraries or other > non-Perl dependencies?" > > exit 0 unless some_dependency_is_met(); Righty ho, that *seems* to be what I'm looking for. This is what I've done: http://git.io/nok

Re: Testsuites and External Dependancies?

2012-12-06 Thread Gianni Ceccarelli
On 2012-12-06 Mark Fowler wrote: > But the OS *is* supported. You just don't have keyboard maestro > installed... From that same wiki page: "How can I stop getting FAIL reports for missing libraries or other non-Perl dependencies?" If you have some special dependencies and don't want to get CP

Re: Testsuites and External Dependancies?

2012-12-06 Thread Mark Fowler
On Thursday, December 6, 2012, David Cantrell wrote: > On 06/12/2012 12:48, Mark Fowler wrote: >> >> It's job is to interface with a OS X utility called Keyboard Maestro. If >> you don't have Keyboard Maestro installed on your Mac[1] it's useless. The >> current version (1.00) will fail its test

Re: Testsuites and External Dependancies?

2012-12-06 Thread David Cantrell
On 06/12/2012 13:04, Peter Sergeant wrote: On Thu, Dec 6, 2012 at 12:48 PM, Mark Fowler wrote: If you don't have Keyboard Maestro installed on your Mac[1] it's useless My understanding is that this is what the Alien:: namespace is for... http://search.cpan.org/~abergman/Alien-0.91/lib/Alien

Re: Testsuites and External Dependancies?

2012-12-06 Thread David Cantrell
On 06/12/2012 12:48, Mark Fowler wrote: Hello my fellow Perl Mongers. I have this module http://metacpan.org/module/Mac::KeyboardMaestro It's job is to interface with a OS X utility called Keyboard Maestro. If you don't have Keyboard Maestro installed on your Mac[1] it's useless. The current

Re: Testsuites and External Dependancies?

2012-12-06 Thread Peter Sergeant
On Thu, Dec 6, 2012 at 12:48 PM, Mark Fowler wrote: > If you don't have Keyboard Maestro installed on your Mac[1] it's useless My understanding is that this is what the Alien:: namespace is for... http://search.cpan.org/~abergman/Alien-0.91/lib/Alien.pm And that the correct solution is to writ

Testsuites and External Dependancies?

2012-12-06 Thread Mark Fowler
Hello my fellow Perl Mongers. I have this module http://metacpan.org/module/Mac::KeyboardMaestro It's job is to interface with a OS X utility called Keyboard Maestro. If you don't have Keyboard Maestro installed on your Mac[1] it's useless. The current version (1.00) will fail its test suite