Hej!

This is reply to my own mail. I am still a beginner, but now with some 
experience. Here follows some (proposed) answers, advices and questions.

1) How to exclude distributions!? ==============================================

"If you use CPAN(PLUS)::YACSmoke there is a documented mechanism in both modules
for excluding particular distributions." (I haven’t found the documentation!)

My proposed answer:
The file ~/.cpanplus/cpansmoke.ini is used to exclude distributions
( ~/ is the users home directory typically 'c:/Users/<user name>') 

The file starts with:
[CONFIG]
exclude_dists=<<HERE

and ends with:
HERE

Between there are lines with module names like:
CPAN-Testers-WWW-Statistics

Remaining question:
Is the line a regular expression or how is it used?

2) Message 'gpg' is not recognized ... what does that mean? 
==============================

The following two lines are in the output:

'gpg' is not recognized as an internal or external command,
operable program or batch file.

Explanation:
"gpg" is a command line tool from GNU.
If the use system does not have gpg installed, verification of signatures are 
skipped.

(GnuPG is the GNU project's complete and free implementation of the OpenPGP 
standard as defined by RFC4880 . GnuPG allows to encrypt and sign your data and 
communication, features a versatile key management system as well as access 
modules for all kinds of public key directories. GnuPG, also known as GPG, is a 
command line tool with features for easy integration with other applications.)

3) How can I find the resulting reports? 
==================================================

Is there an easy way to look at the generated reports from a tester?
Most interesting are the reports from failing tests.

4) How to find out in which step a test is stuck? 
=========================================
Is there any way to find out in which step a test is hanging?
(I am using Windows and some times tests are hanging.)

5) Remove the build directory! 
=======================================================
One test resulted in a failing command. The command was about 37 kbyte, which 
is rather long. Probably there is a limit somewhere that cause the fail.

To avoid the problem with too long commands you should periodically empty (or 
remove) ~/.cpanplus/<version of Perl>/build/. The module needed by the test are 
quickly rebuild from a source cache keept by CPAN(PLUS)::YACSmoke.
Cpanplus uses the directory ~/.cpanplus/<version of Perl>/build/ to build and 
test distributions.
For each module in ~/.cpanplus/<version of Perl>/build/ an "-I" followed by the 
path to the module is added in the command used to build and test a module.

6) Instruction how to use a virtual operating system! 
====================================
Running smoke test sometimes result in degeneration of the operating system. It 
is sometimes problems to stop and start Windows 7.
A way to reduce the problem is to use a virtual operating system.
It had been good if there were a detailed instruction how to install and use a 
virtual operating system.

Best regards

Bo Johansson

From: Bo Johansson 
Sent: Friday, January 11, 2013 4:07 PM
To: cpan-testers-discuss@perl.org 
Subject: Beginners questions

Hej!

I am new to smoke testing and have some questions.

1) Where are the configuration file stored? ==============================

"If you use CPAN(PLUS)::YACSmoke there is a documented mechanism in both 
modules for excluding particular distributions."

I have found .cpanplus/lib/CPANPLUS/Config/User.pm, 
c:/strawberry/perl/lib/CPANPLUS/Config/HomeEnv.pm and 
c:/strawberry/perl/site/lib/CPANPLUS/Config/YACSmoke.pm.

Where is cpansmoke.ini stored?

2) Problem with the module Path-Class-0.29 ================================

Output from the installation:

cpanp -i Path-Class-0.29
Installing Path::Class (0.29)
'gpg' is not recognized as an internal or external command,
operable program or batch file.
Not in MANIFEST: t/spew
==> MISMATCHED content between MANIFEST and distribution files! <==
[ERROR] Signature check failed for module 'Path::Class' -- Not trusting this 
module, aborting install

*** Install log written to:
  C:\Users\bo\.cpanplus\install-logs\Path-Class-0.29-1357890290.log

Error installing 'Path::Class'
Problem installing one or more modules

[End of output]

The log file is empty.

Any ideas on the problem?
Must “gpg” be installed?


3) How can I find the resulting reports? ================================

Is there an easy way to look at the generated reports?
Most interesting are the reports from failing test.

4) Find out in which step a test is stuck ====================================

Is there any way to find out in which step a test is hanging?
(I am using Windows and some times tests are hanging)

Best regards

Bo Johansson

Reply via email to