At 03:19 PM 5/9/2002 -0600, Creager, Robert S wrote: >Hey David, > >The real problem is that I do not have ClearCase installed on my Linux >machine. I'm using CPANPLUS (v0.033) as an automated testing platform. >Now, according the "Automated Testing Bible" (CPANPLUS/TesterGuide.pod): > > The -a option lets cpansmoke enter the non-interactive mode. > In this mode, only failures during "make test" are reported, > because errors that occurred during "Makefile.PL" or "make" > are more likely the machine's problem, not the module's. > >So, if you can get your module to fail earlier, then improper failing >reports will not be generated.
Robert, I don't think it can be as simple as this. The module has always considered the possibility it would be tested on a machine without ClearCase. The first thing the test script does is try a simple ClearCase cmd and exit(0) after printing a friendly message. It's hard for me to test this perfectly, because all my systems DO have CC, but I moved it aside temporarily just now and it seems to do the right thing: % make test PERL_DL_NONLAZY=1 /opt/perl/bin/perl -Iblib/arch -Iblib/lib -I/opt/perl-gcc/lib/5.6.1/sun4-solaris -I/opt/perl-gcc/lib/5.6.1 test.pl ****************************************************************** ClearCase::Argv is only useable if ClearCase is installed. It was unable to figure out the install location so will not continue the test. You can work around this by modifying your PATH appropriately. ****************************************************************** 1..1 ok 1 So in this case it promises one test and delivers one test. Can you reproduce this problem manually on your system? I'm on Solaris 8/Perl 5.6.1 FWIW. Thanks, David
