Title Page
Software Version Description
for
${TITLE}
Revision: ${REVISION}
Version: ${VERSION}
Date: ${DATE}
Prepared for: ${END_USER}
Prepared by: ${AUTHOR}
Copyright: ${COPYRIGHT}
Classification: ${CLASSIFICATION}
1.0 SCOPE
This paragraph identifies and provides an overview of the released files.
1.1 Identification
This release, identified in 3.2, is a collection of Perl modules that extend the capabilities of the Perl language.
1.2 System overview
${CAPABILITIES}
1.3 Document overview.
${DOCUMENT_OVERVIEW}
3.0 VERSION DESCRIPTION
All file specifications in this SVD use the ${SVD_FSPEC} operating system file specification.
3.1 Inventory of materials released.
This document releases the file found at the following repository(s):
${REPOSITORY}
Restrictions regarding duplication and license provisions are as follows:
3.2 Inventory of software contents
The content of the released, compressed, archieve file, consists of the following files:
${DIST_INVENTORY}
3.3 Changes
${RESTRUCTURE_CHANGES}${CHANGES}
3.4 Adaptation data.
This installation requires that the installation site has the Perl programming language installed. Installation sites running Microsoft Operating systems require the installation of Unix utilities. An excellent, highly recommended Unix utilities for Microsoft operating systems is unxutils by Karl M. Syring. A copy is available at the following web sites:
http://unxutils.sourceforge.net
http://packages.SoftwareDiamnds.com
There are no other additional requirements or tailoring needed of configurations files, adaptation data or other software needed for this installation particular to any installation site.
3.5 Related documents.
There are no related documents needed for the installation and test of this release.
3.6 Installation instructions.
Instructions for installation, installation tests and installation support are as follows:
- Installation Instructions.
-
${INSTALLATION}
- Prerequistes.
-
${PREREQ_PM_TEXT}
- Security, privacy, or safety precautions.
-
None.
- Installation Tests.
-
Most Perl installation software will run the following test script(s) as part of the installation:
${TEST_INVENTORY}
- Installation support.
-
If there are installation problems or questions with the installation contact
${SUPPORT}
3.7 Possible problems and known errors
${PROBLEMS}
4.0 NOTES
${NOTES}
2.0 SEE ALSO
${SEE_ALSO}
${HTML}NAME
ExtUtils::SVDmaker - generates CPAN distribution packages and Software Version Descriptions (SVD)
SYNOPSIS
use ExtUtils::SVDmaker;
$svd = new ExtUtils::SVDmaker( @options );
$svd = new ExtUtils::SVDmaker( \%options );
$svd->vmake( @targets, \%options );
$svd->vmake( @targets );
$svd->vmake( \%options );
DESCRIPTION
The "ExtUtils::SVDmaker" program module extends the Perl language (Perl is the system).
The input to "ExtUtils::SVDmaker" is the __DATA__ section of Software Version Description (SVD) program module. The __DATA__ section must contain SVD forms text database in the DataPort::FileType::DataDB format.
Use the "vmake.pl" (SVD make) cover script for ExtUtils::SVDmaker to process a SVD database module as follows:
vmake -pm=Docs::Site_SVD::MySVDmodule
The preferred location for SVD program modules is
Docs::Site_SVD::
The "ExtUtils::SVDmaker" module extends the automation of releasing a Perl distribution file as follows:
The input data for the "ExtUtils::SVDmaker" module is a form database file in the format of DataPort::FileType::FormDB. This is an efficient text database that is very close in format to hard copy forms and may be edited by text editors
compares the contents of the current release with the previous release and automatically updates the version and date for files that have changed
generates a SVD program module from the form database data.
generates MANIFEST, README and Makefile.PL distribution files from the form database data
Builds the distribution *.tar.gz file
Runs the installation tests on the distribution files
The ExtUtils::SVDmaker module is one of the end user, functional interface modules for the US DOD STD2167A bundle.
The dependency of the program modules in the US DOD STD2167A bundle is as follows:
Text::Scrub File::Package File::TestPath File::SmartNL
Test::Tech
DataPort::FileType::FormDB DataPort::DataFile Text::Replace Text::Column
File::AnySpec File::Data File::PM2File File::SubPM
Test::STDmaker ExtUtils::SVDmaker
The top level modules that establish the functional interface of interest to the end user are the "Test::STDmaker" and "ExtUtils::SVDmaker" modules. The rest of the modules in the above dependency tree are design modules for the US DOD STD2167A bundle. They are broken out as separate modules because they may have uses outside of the US DOD STD2167A bundle.
The Test::STDmaker module has a number of design modules not shown in the above dependency tree. See Test::STDmaker for more detail.
SVD Program Module Format
The input(s) for the fgenerate
method are Softare Version Description (SVD) Program Modules (PM).
A SVD PM consists of three sections as follows:
- Perl Code Section
-
The code section contains the following Perl scalars: $VERSION, $DATE, and $FILE. The "ExtUtils::STDmaker" automatically generates this section.
- SVD POD Section
-
The SVD POD section is a slightly tailored United States (US) Department of Defense (DOD) SVD Data Item Description (DID) format.
The tailoring is that paragraph 2 of the SVD DID is renamed from "REFERENCE DOCUMENTS" to "SEE ALSO" and moved to the end. The content of paragraph, 1.2 System Overview, is changed to include a brief statement of the software features and capabilities. The system is always the same, the Perl language. This makes better use of this space.
The "ExtUtils::SVDmaker" module automatically generates this section.
- SVD Form Database Section
-
This section contains a SVD Form Database that the "ExtUtils::SVDmaker" module uses to generate the Perl code section and the SVD POD section.
SVD Form Database Fields
The "ExtUtils::SVDmaker" module uses the DataPort::FileType::FormDB lenient format to access the data.
This is a very compact database form. The fields are a merge of the data required by the United States (US) Department of Defense (DOD) SVD Data Item Description (DID) and the ExtUtils::MakeMaker module.
The following are the database file fields:
- ABSTRACT field
-
This field should be a one line description of the module. It Will be included in PPD file.
- AUTHOR field
-
This field should contain the name (and email address) of package author(s). It is used in PPD (Perl Package Description) files for PPM (Perl Package Manager) and as the "prepared by" entry in the title page of the generated SVD module POD section.
- AUTO_REVISE field
-
This is the list of files (excluding the generated files MANIFEST, Makefile.pl, README and the $SVD.pm) in the distribution. The file specification may contain BSD globbing metacharaters such as the '*'.
- CAPABILITIES
-
This paragraph shall briefly state the purpose the software, its features and capabilities.
- CHANGE2CURRENT field
-
This field is normally left blank. This field only comes into play when the previous and current distribution names are different. In this case the "ExtUtils::SVDmaker" module, after it has restored the previous release directory, will copy each file from the previous release directory to the current release directory.
Before the copy, the "ExtUtils::SVDmaker" module evals for each restored file, the "CHANGE2CURRENT" field. The file name for the current release is contained in the variable $file. Thus, the Perl statements in the "CHANGE2CURRENT" field should be use to change the names of files from a previous release with different files names for the current release.
For example, to moved the top level from "lib/SVD" to "lib/ExtUtils", use the following:
return if $file =~ s=lib/SVD/SVDmaker.pm=lib/ExtUtils/SVDmaker.pm=;^
- CHANGES field
-
This field should contain a list of all changes incorporated into the software version since the previous version. It may include a brief history of changes to other versions.
This field should identify, as applicable, the problem reports, change proposals, and change notices associated with each change and the effects, if any, of each change on system operation and on interfaces with other hardware and software.
- CLASSIFICATION field
-
This field should include security other restrictions on the handling of the software.
- COMPRESS field
-
This field is the program for compression. Normally this will be "gzip".
- COMPRESS_SUFFIX field
-
This field is the default suffix for compressed files. Normally this is '.gz'.
- CSS field
-
The Casscading Style Sheet (css) file for the readme html. Normally this is "help.css".
- DISTNAME field
-
This is the name for distributing the package (by tar file). For library modules, this should be the package name with the '::' characters replaced with the '-' character.
- DOCUMENT_OVERVIEW field
-
This field should summarize the purpose and contents of this document and shall describe any security or privacy considerations associated with its use.
- END_USER field
-
This field is the "prepare for" entry in the title page of the generated SVD module POD section.
- FREEZE field
-
Normally this field will be set to 0 in order to make dry-runs of the distribution. When set to 0, the version of the master library will not be changed. Set this field to 1 for the finalized distribution. The version number for any master library module that changed since the last distribution will be updated.
- HTML field
-
This field is for HTML code at the end of the SVD POD section. For example,
<hr> <p><br> <!-- BLK ID="NOTICE" --> <!-- /BLK --> <p><br> <!-- BLK ID="OPT-IN" --> <!-- /BLK --> <p><br> <!-- BLK ID="LOG_CGI" --> <!-- /BLK -->
- INSTALLATION field
-
This field should include the following information:
Instructions for installing the software version.
Identification of other changes that have to be installed for this version to be used, including site-unique adaptation data not included in the software version
Security, privacy, or safety precautions relevant to the installation
- LICENSE field
-
This field should contain any restrictions regarding duplication and license provisions. Any copyright notice should also be included in this field.
- NOTES field
-
This field should contain any general information that aids in understanding this document (e.g., background information, glossary, rationale). This field shall include an alphabetical listing of all acronyms, abbreviations, and their meanings as used in this document and a list of any terms and definitions needed to understand this document.
- PREREQ_PM field
-
This field contains the names of modules that need to be available to run this extension (e.g. Fcntl for SDBM_File) followed by the desired version is the value. This field should use Perl array notation. For examples:
'Fcntl' => '0', 'Test::Tech' => '1.09',
If the required version number is 0, any installed version is acceptable.
- PREVIOUS_DISTNAME field
-
This field is normally left blank. Supply this field when the previous distribution name is different.
- PREVIOUS_RELEASE field
-
This field is the version of the previous release.
- PROBLEMS field
-
This field should identify any possible problems or known errors with the software version at the time of release, any steps being taken to resolve the problems or errors, and instructions (either directly or by reference) for recognizing, avoiding, correcting, or otherwise handling each one. The information presented shall be appropriate to the intended recipient of the SVD (for example, a user agency may need advice on avoiding errors, a support agency on correcting them).
- REPOSITORY field
-
This field is the repositories that the current distribution will be released.
For example,
http://www.softwarediamonds/packages/ http://www.perl.com/CPAN-local/authors/id/S/SO/SOFTDIA/
- REPOSITORY_DIR field
-
The value for the REPOSITORY_DIR is normally "packages". This is the directory where all release files are found. The "ExtUtils::SVDmaker" module uses the REPOSITORY_DIR as follows:
First it locates the $TOP_DIR of the package specified by the -pm option.
It locates the repository directory by using REPOSITORY_DIR field as a sub directory of the $TOP_DIR.
The directory structure assumed by the "ExtUtils::SVDmaker" module is, thus, as follows:
$TOP_DIR -+- lib -- * -- $svd.pm | +- bin | +- $REPOSITORY_DIR -+- $DISTNAME-$PREVIOUS_VERSION -+- lib | +- bin | +- blib | +- Makefile.PL | +- README | +- MANIFEST | +- $DISTNAME-$VERSION.tar.gz $DISTNAME-$VERSION.ppd $DISTNAME-$VERSION.html $RELEASE_DIR = $TOPDIR $REPOSITORY_DIR $DISTNAME-$PREVIOUS_VERSION
When the PREVIOUS_DISTNAME field is different than the DISTNAME field, the directory structure is as follows:
$TOP_DIR -+- lib -- * -- $svd.pm | +- bin | +- $REPOSITORY_DIR -+- $PREVIOUS_DISTNAME-$PREVIOUS_VERSION -+- lib | +- bin | +- blib | +- Makefile.PL | +- README | +- MANIFEST | +- $DISTNAME-$VERSION -+- lib | +- bin | +- blib | +- Makefile.PL | +- README | +- MANIFEST | +- $DISTNAME-$VERSION.tar.gz $DISTNAME-$VERSION.ppd $DISTNAME-$VERSION.html $RELEASE_DIR = $TOPDIR $REPOSITORY_DIR $DISTNAME-$VERSION
- RESTRUCTURE field
-
This field is Perl statements that the "ExtUtils::SVDmaker" uses to rearrange the directory tree of the release directory.
For example, to eliminate the "lib\SVD" subtree, enter the following:
use File::Path; rmtree 'lib\SVD';
The evaluation takes place after all "CHANGE2CURRENT" field processing and with the cwd the current release directory, not the previous release directory if they are different.
See also CHANGE2CURRENT field;
- REVISION field
-
Enter the revision for the STD POD. The revision field, in accordance with standard engineering drawing practices are letters A .. B AA .. ZZ except for the orginal revision which is -.
- SEE_ALSO field
-
This field shall list the number, title, revision, and date of all referenced and related documents. This field shall also identify the source for all documents. A simple POD link, when applicable, will satisfy these requirements.
- SUPPORT field
-
Point of contact to be consulted if there are problems or questions with the installation
- TITLE field
-
This field is the "title" entry in the title page of the generated SVD module POD section.
- TEMPLATE field
-
This is the template that the
$svd-
gen> method uses to generate the SVD POD file. - TESTS field
-
List of tests for determining whether the version has been installed properly and meets its requirements.
- VERSION field
-
This field is the version of the release. The version should be a decimal number of the format "\d\.\d\d" starting with "0.01".
Options
targets
For this discussion of the targets, the directory structure shown in the REPOSITORY_DIR field item applies.
- all
-
This target executes the following target sequence
"check_svd_db restore_previous auto_revise write_svd_pm makemake build"
- auto_revise target
-
This target uses the relative files specified in the AUTO_REVISE field. FOr each of the these files, $file, it will compare ($TOP_DIR $file) with ($RELEASE_DIR $file), scrubing any date and version so they are not compared.
If the contents of ($TOP_DIR $file) is different than the ($RELEASE_DIR $file), this target will update the ($RELEASE_DIR $file) to the ($TOP_DIR $file) and appropriately change the version and date.
The $TOP_DIR and $RELEASE_DIR used in this description is as established by REPOSITORY_DIR field item.
Before performing the above sequence, this target will ensure that the following sequence of targets have been executed once
"check_svd_db restore_previous"
- build target
-
This is the same as
makepl make make test TEST_VERBOSE=1 make dist make ppd
Before performing the above sequence, this target will ensure that the following sequence targets have been executed once
"check_svd_db restore_previous auto_revise makemake"
- check_svd_db target
-
This target checks the integrity of the SVD database and creates derived fields such as "TOP_DIR" helpful in processing other targets.
- clear target
-
The following targets are executed only once no matter how many times they are specified. The target "clear" will clear the block and allow them to be executed again.
check_svd_db restore_previous auto_revise write_svd_pm readme_html makepl makemake build
- make target
-
This targe executes the appropriate "make" for the site operating system. For "$^O eq 'MSWin32'", this will be the "nmake" application.
- makemake target
-
This target generates the following files:
README MANIFEST Makefile.PL
Before generating the above files, this target will ensure that the following sequence targets have been executed once
"check_svd_db restore_previous auto_revise"
- makepl target
-
This target generates the following file:
Makefile.PL
Before generating the above files, this target will ensure that the following sequence targets have been executed once
"check_svd_db restore_previous auto_revise"
- pm target
-
This target generates the Perl and POD section of the SVD program module from the __DATA__ section. It updates both the copy in the $TOP_DIR subtree and the $RELEASE_DIR subtree.
The $TOP_DIR and $RELEASE_DIR used in this description is as established by REPOSITORY_DIR field item.
Before generating the above files, this target will ensure that the following sequence targets have been executed once
"check_svd_db restore_previous auto_revise"
- readme_html target
-
This target generates the file
$REPOSITORY_DIR $DISTNAME-$VERSION.html
The $REPOSITORY_DIR scalar used in this description is as established by REPOSITORY_DIR field item.
Before generating the above files, this target will ensure that the following sequence targets have been executed once
"check_svd_db restore_previous auto_revise write_svd_pm"
- restore_previous target
- # no target
-
A lack of a target is the same as
"all readme_html"
REQUIREMENTS
Requirements are coming soon.
DEMONSTRATION
~~~~~~ Demonstration overview ~~~~~
Perl code begins with the prompt
=>
The selected results from executing the Perl Code follow on the next lines. For example,
=> 2 + 2
4
~~~~~~ The demonstration follows ~~~~~
=> use vars qw($loaded);
=> use File::Glob ':glob';
=> use File::Copy;
=> use File::Path;
=> use File::Package;
=> use File::SmartNL;
=> use Text::Scrub;
=> use IO::String;
=> my $loaded = 0;
=> my $snl = 'File::SmartNL';
=> my $fp = 'File::Package';
=> my $s = 'Text::Scrub';
=> $fp->is_package_loaded('ExtUtils::SVDmaker')
''
=> my $errors = $fp->load_package( 'ExtUtils::SVDmaker' )
=> $errors
''
=> ######
=> # Add the SVDmaker test lib and test t directories onto @INC
=> #
=> unshift @INC, File::Spec->catdir( cwd(), 't');
=> unshift @INC, File::Spec->catdir( cwd(), 'lib');
=> my $script_dir = cwd();
=> chdir 'lib';
=> unlink 'SVDtest1.pm','module1.pm';
=> copy 'SVDtest0.pm','SVDtest1.pm';
=> copy 'module0.pm','module1.pm';
=> chdir $script_dir;
=> chdir 't';
=> unlink 'SVDtest1.t';
=> copy 'SVDtest0.t','SVDtest1.t';
=> chdir $script_dir;
=> rmtree 'packages';
=> $snl->fin( File::Spec->catfile('lib', 'module1.pm'))
'#!perl
#
# Documentation, copyright and license is at the end of this file.
#
package module1;
use 5.001;
use strict;
use warnings;
use warnings::register;
use vars qw($VERSION $DATE $FILE);
$VERSION = '0.01';
$DATE = '2003/06/15';
$FILE = __FILE__;
####
# Using an object to pass localized object data
# between functions. Makes the functions reentrant
# where out right globals can be clobbered when
# used with different threads (processes??)
#
sub new
{
my ($class, $test_log) = @_;
$class = ref($class) if ref($class);
bless {}, $class;
}
#####
# Test method
#
sub hello
{
"hello world"
}
1
__END__
=head1 NAME
module1 - SVDmaker test module
=cut
### end of file ###'
=> $snl->fin( File::Spec->catfile('lib', 'SVDtest1.pm'))
'#!perl
#
# The copyright notice and plain old documentation (POD)
# are at the end of this file.
#
package SVDtest1;
use strict;
use warnings;
use warnings::register;
use vars qw($VERSION $DATE $FILE );
$VERSION = '0.01';
$DATE = '2003/06/11';
$FILE = __FILE__;
1
__DATA__
DISTNAME: SVDtest1^
VERSION:1.03^
REPOSITORY_DIR: packages^
FREEZE: 0^
PREVIOUS_DISTNAME: ^
PREVIOUS_RELEASE: ^
REVISION: -^
AUTHOR : SoftwareDiamonds.com E<lt>support@SoftwareDiamonds.comE<gt>^
ABSTRACT:
Objectify the Test module,
adds the skip_test method to the Test module, and
adds the ability to compare complex data structures to the Test module.
^
TITLE : ExtUtils::SVDmaker::SVDtest - Test SVDmaker^
END_USER: General Public^
COPYRIGHT: copyright © 2003 Software Diamonds^
CLASSIFICATION: NONE^
TEMPLATE: ^
CSS: help.css^
SVD_FSPEC: Unix^
REPOSITORY:
http://www.softwarediamonds/packages/
http://www.perl.com/CPAN-local/authors/id/S/SO/SOFTDIA/
^
COMPRESS: gzip^
COMPRESS_SUFFIX: gz^
CHANGE2CURRENT: ^
RESTRUCTURE: ^
AUTO_REVISE:
lib/SVDtest1.pm
lib/module1.pm
t/SVDtest1.t
^
PREREQ_PM: 'File::Basename' => 0^
TESTS: t/SVDtest1.t^
EXE_FILES: ^
CHANGES:
This is the original release. There are no preivious releases to change.
^
CAPABILITIES: The ExtUtils::SVDmaker::SVDtest module is a SVDmaker test module. ^
PROBLEMS: There are no open issues.^
DOCUMENT_OVERVIEW:
This document releases ${NAME} version ${VERSION}
providing description of the inventory, installation
instructions and other information necessary to
utilize and track this release.
^
LICENSE:
Software Diamonds permits the redistribution
and use in source and binary forms, with or
without modification, provided that the
following conditions are met:
\=over 4
\=item 1
Redistributions of source code, modified or unmodified
must retain the above copyright notice, this list of
conditions and the following disclaimer.
\=item 2
Redistributions in binary form must
reproduce the above copyright notice,
this list of conditions and the following
disclaimer in the documentation and/or
other materials provided with the
distribution.
\=back
SOFTWARE DIAMONDS, http://www.SoftwareDiamonds.com,
PROVIDES THIS SOFTWARE
'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL SOFTWARE DIAMONDS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL,EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE,DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING USE OF THIS SOFTWARE, EVEN IF
ADVISED OF NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE POSSIBILITY OF SUCH DAMAGE.
^
INSTALLATION:
To installed the release file, use the CPAN module in the Perl release
or the INSTALL.PL script at the following web site:
http://packages.SoftwareDiamonds.com
Follow the instructions for the the chosen installation software.
The distribution file is at the following respositories:
${REPOSITORY}
^
SUPPORT: 603 882-0846 E<lt>support@SoftwareDiamonds.comE<gt>^
NOTES:
The following are useful acronyms:
\=over 4
\=item .d
extension for a Perl demo script file
\=item .pm
extension for a Perl Library Module
\=item .t
extension for a Perl test script file
\=item DID
Data Item Description
\=item POD
Plain Old Documentation
\=item STD
Software Test Description
\=item SVD
Software Version Description
\=back
^
SEE_ALSO:
\=over 4
\=item L<ExtUtils::SVDmake|ExtUtils::SVDmaker>
\=back
^
HTML:
<hr>
<p><br>
<!-- BLK ID="PROJECT_MANAGEMENT" -->
<!-- /BLK -->
<p><br>
<!-- BLK ID="NOTICE" -->
<!-- /BLK -->
<p><br>
<!-- BLK ID="OPT-IN" -->
<!-- /BLK -->
<p><br>
<!-- BLK ID="LOG_CGI" -->
<!-- /BLK -->
<p><br>
^
~-~
'
=> $snl->fin( File::Spec->catfile('t', 'SVDtest1.t'))
'#!perl
#
#
use 5.001;
use strict;
use warnings;
use warnings::register;
use vars qw($VERSION $DATE);
$VERSION = '0.01';
$DATE = '2003/07/06';
######
#
# T:
#
# use a BEGIN block so we print our plan before Module Under Test is loaded
#
BEGIN {
use Cwd;
use File::Spec;
use Test::Tech qw(plan ok skip skip_tests);
use File::Package;
use File::TestPath;
use vars qw($__restore_dir__ @__restore_inc__ $__tests__);
########
# Create the test plan by supplying the number of tests
# and the todo tests
#
$__tests__ = 3;
plan(tests => $__tests__);
########
# Working directory is that of the script file
#
$__restore_dir__ = cwd();
my ($vol, $dirs, undef) = File::Spec->splitpath( $0 );
chdir $vol if $vol;
chdir $dirs if $dirs;
#######
# Add the library of the unit under test (UUT) to @INC
#
@__restore_inc__ = File::TestPath->test_lib2inc;
}
END {
#########
# Restore working directory and @INC back to when enter script
#
@INC = @__restore_inc__;
chdir $__restore_dir__;
}
#######
#
# ok: 1
#
use File::Package;
my $fp = 'File::Package';
my $loaded;
print "# UUT not loaded\n";
ok( [$loaded = $fp->is_package_loaded('module1')],
['']); #expected results
#######
#
# ok: 2
#
print "# Load UUT\n";
my $errors = $fp->load_package( 'module1' );
skip_tests(1) unless skip(
$loaded, # condition to skip test
[$errors], # actual results
['']); # expected results
my $m = new module1;
print "# test hello world\n";
ok($m->hello, 'hello world', 'hello world');
__END__
=head1 NAME
SVDmaker.t - test script for Test::tech
=head1 SYNOPSIS
SVDmaker.t
=head1 NOTES
=head2 Copyright
copyright © 2003 Software Diamonds.
head2 License
Software Diamonds permits the redistribution
and use in source and binary forms, with or
without modification, provided that the
following conditions are met:
=over 4
=item 1
Redistributions of source code, modified or unmodified
must retain the above copyright notice, this list of
conditions and the following disclaimer.
=item 2
Redistributions in binary form must
reproduce the above copyright notice,
this list of conditions and the following
disclaimer in the documentation and/or
other materials provided with the
distribution.
=back
SOFTWARE DIAMONDS, http://www.SoftwareDiamonds.com,
PROVIDES THIS SOFTWARE
'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL SOFTWARE DIAMONDS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL,EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE,DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING USE OF THIS SOFTWARE, EVEN IF
ADVISED OF NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE POSSIBILITY OF SUCH DAMAGE.
=cut
## end of test script file ##
'
=> unlink 'SVDtest1.log';
=> no warnings;
=> open SAVE_OUT, ">&STDOUT";
=> open SAVE_ERR, ">&STDERR";
=> use warnings;
=> open STDOUT,'> SVDtest1.log';
=> open STDERR, ">&STDOUT";
=> my $svd = new ExtUtils::SVDmaker( );
=> skip_tests(1) unless $svd->vmake( {pm => 'SVDtest1'} );
=> close STDOUT;
=> close STDERR;
=> open STDOUT, ">&SAVE_OUT";
=> open STDERR, ">&SAVE_ERR";
=> my $output = $snl->fin( 'SVDtest1.log' );
=> $output
'Checking if your kit is complete...
Looks good
Writing Makefile for SVDtest1
cp lib/module1.pm blib\lib\module1.pm
cp lib/SVDtest1.pm blib\lib\SVDtest1.pm
Using E:/User/SoftwareDiamonds/installation/t/ExtUtils/SVDmaker/packages/SVDtest1-0.01/blib
D:\Perl\bin\perl.exe -Mblib -ID:\Perl\lib -ID:\Perl\lib -e "use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;" t\SVDtest1.t
t\SVDtest1..........1..3
# OS : MSWin32
# Perl : 5.006001 Win32 Build 631
# Local Time : Mon Jul 7 05:51:34 2003
# GMT Time : Mon Jul 7 09:51:34 2003 GMT
# Test : 1.15
# Number Storage: string
# Test::Tech : 1.09
# Data::Dumper : 2.102
# =cut
# UUT not loaded
ok 1
# Load UUT
ok 2
# test hello world
ok 3
ok
All tests successful.
Files=1, Tests=3, 1 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)
D:\Perl\bin\perl.exe -ID:\Perl\lib -ID:\Perl\lib -MExtUtils::Command -e rm_rf SVDtest1-0.01
D:\Perl\bin\perl.exe -ID:\Perl\lib -ID:\Perl\lib -MExtUtils::Manifest=manicopy,maniread -e "manicopy(maniread(),'SVDtest1-0.01', 'best');"
mkdir SVDtest1-0.01
mkdir SVDtest1-0.01/lib
mkdir SVDtest1-0.01/t
tar cvf SVDtest1-0.01.tar SVDtest1-0.01
SVDtest1-0.01/
SVDtest1-0.01/lib/
SVDtest1-0.01/lib/module1.pm
SVDtest1-0.01/lib/SVDtest1.pm
SVDtest1-0.01/Makefile.PL
SVDtest1-0.01/MANIFEST
SVDtest1-0.01/README
SVDtest1-0.01/t/
SVDtest1-0.01/t/SVDtest1.t
D:\Perl\bin\perl.exe -ID:\Perl\lib -ID:\Perl\lib -MExtUtils::Command -e rm_rf SVDtest1-0.01
gzip SVDtest1-0.01.tar
'
=> $output =~ /All tests successful/
'1'
=> $s->scrub_date( $snl->fin( File::Spec->catfile( 'lib', 'SVDtest1.pm' ) ) )
'#!perl
#
# The copyright notice and plain old documentation (POD)
# are at the end of this file.
#
package SVDtest1;
use strict;
use warnings;
use warnings::register;
use vars qw($VERSION $DATE $FILE );
$VERSION = '0.01';
$DATE = '1969/02/06';
$FILE = __FILE__;
use vars qw(%INVENTORY);
%INVENTORY = (
'lib/SVDtest1.pm' => [qw(0.01 1969/02/06), 'new'],
'MANIFEST' => [qw(0.01 1969/02/06), 'generated new'],
'Makefile.PL' => [qw(0.01 1969/02/06), 'generated new'],
'README' => [qw(0.01 1969/02/06), 'generated new'],
'lib/SVDtest1.pm' => [qw(0.01 1969/02/06), 'new'],
'lib/module1.pm' => [qw(0.01 1969/02/06), 'new'],
't/SVDtest1.t' => [qw(0.01 1969/02/06), 'new'],
);
########
# The ExtUtils::SVDmaker module uses the data after the __DATA__
# token to generate this file.
#
# Don't edit anything before __DATA_. Edit instead
# the data after the __DATA__ token.
#
# ANY CHANGES MADE BEFORE the __DATA__ token WILL BE LOST
#
# the next time ExtUtils::SVDmaker generates this file.
#
#
=head1 Title Page
Software Version Description
for
ExtUtils::SVDmaker::SVDtest - Test SVDmaker
Revision: -
Version: 0.01
Date: 1969/02/06
Prepared for: General Public
Prepared by: SoftwareDiamonds.com E<lt>support@SoftwareDiamonds.comE<gt>
Copyright: copyright © 2003 Software Diamonds
Classification: NONE
=head1 1.0 SCOPE
This paragraph identifies and provides an overview
of the released files.
=head2 1.1 Identification
This release,
identified in L<3.2|/3.2 Inventory of software contents>,
is a collection of Perl modules that
extend the capabilities of the Perl language.
=head2 1.2 System overview
The ExtUtils::SVDmaker::SVDtest module is a SVDmaker test module.
=head2 1.3 Document overview.
This document releases SVDtest1 version 0.01
providing description of the inventory, installation
instructions and other information necessary to
utilize and track this release.
=head1 3.0 VERSION DESCRIPTION
All file specifications in this SVD
use the Unix operating
system file specification.
=head2 3.1 Inventory of materials released.
This document releases the file found
at the following repository(s):
http://www.softwarediamonds/packages/SVDtest1-0.01
http://www.perl.com/CPAN-local/authors/id/S/SO/SOFTDIA/SVDtest1-0.01
Restrictions regarding duplication and license provisions
are as follows:
=over 4
=item Copyright.
copyright © 2003 Software Diamonds
=item Copyright holder contact.
603 882-0846 E<lt>support@SoftwareDiamonds.comE<gt>
=item License.
Software Diamonds permits the redistribution
and use in source and binary forms, with or
without modification, provided that the
following conditions are met:
=over 4
=item 1
Redistributions of source code, modified or unmodified
must retain the above copyright notice, this list of
conditions and the following disclaimer.
=item 2
Redistributions in binary form must
reproduce the above copyright notice,
this list of conditions and the following
disclaimer in the documentation and/or
other materials provided with the
distribution.
=back
SOFTWARE DIAMONDS, http://www.SoftwareDiamonds.com,
PROVIDES THIS SOFTWARE
'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL SOFTWARE DIAMONDS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL,EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE,DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING USE OF THIS SOFTWARE, EVEN IF
ADVISED OF NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE POSSIBILITY OF SUCH DAMAGE.
=back
=head2 3.2 Inventory of software contents
The content of the released, compressed, archieve file,
consists of the following files:
file version date comment
------------------------------------------------------------ ------- ---------- ------------------------
lib/SVDtest1.pm 0.01 1969/02/06 new
MANIFEST 0.01 1969/02/06 generated new
Makefile.PL 0.01 1969/02/06 generated new
README 0.01 1969/02/06 generated new
lib/SVDtest1.pm 0.01 1969/02/06 new
lib/module1.pm 0.01 1969/02/06 new
t/SVDtest1.t 0.01 1969/02/06 new
=head2 3.3 Changes
This is the original release. There are no preivious releases to change.
=head2 3.4 Adaptation data.
This installation requires that the installation site
has the Perl programming language installed.
Installation sites running Microsoft Operating systems require
the installation of Unix utilities.
An excellent, highly recommended Unix utilities for Microsoft
operating systems is unxutils by Karl M. Syring.
A copy is available at the following web sites:
http://unxutils.sourceforge.net
http://packages.SoftwareDiamnds.com
There are no other additional requirements or tailoring needed of
configurations files, adaptation data or other software needed for this
installation particular to any installation site.
=head2 3.5 Related documents.
There are no related documents needed for the installation and
test of this release.
=head2 3.6 Installation instructions.
Instructions for installation, installation tests
and installation support are as follows:
=over 4
=item Installation Instructions.
To installed the release file, use the CPAN module in the Perl release
or the INSTALL.PL script at the following web site:
http://packages.SoftwareDiamonds.com
Follow the instructions for the the chosen installation software.
The distribution file is at the following respositories:
http://www.softwarediamonds/packages/SVDtest1-0.01
http://www.perl.com/CPAN-local/authors/id/S/SO/SOFTDIA/SVDtest1-0.01
=item Prerequistes.
'File::Basename' => 0
=item Security, privacy, or safety precautions.
None.
=item Installation Tests.
Most Perl installation software will run the following test script(s)
as part of the installation:
t/SVDtest1.t
=item Installation support.
If there are installation problems or questions with the installation
contact
603 882-0846 E<lt>support@SoftwareDiamonds.comE<gt>
=back
=head2 3.7 Possible problems and known errors
There are no open issues.
=head1 4.0 NOTES
The following are useful acronyms:
=over 4
=item .d
extension for a Perl demo script file
=item .pm
extension for a Perl Library Module
=item .t
extension for a Perl test script file
=item DID
Data Item Description
=item POD
Plain Old Documentation
=item STD
Software Test Description
=item SVD
Software Version Description
=back
=head1 2.0 SEE ALSO
=over 4
=item L<ExtUtils::SVDmake|ExtUtils::SVDmaker>
=back
=for html
<hr>
<p><br>
<!-- BLK ID="PROJECT_MANAGEMENT" -->
<!-- /BLK -->
<p><br>
<!-- BLK ID="NOTICE" -->
<!-- /BLK -->
<p><br>
<!-- BLK ID="OPT-IN" -->
<!-- /BLK -->
<p><br>
<!-- BLK ID="LOG_CGI" -->
<!-- /BLK -->
<p><br>
=cut
1;
__DATA__
DISTNAME: SVDtest1^
VERSION : 0.01^
REPOSITORY_DIR: packages^
FREEZE: 0^
PREVIOUS_DISTNAME: ^
PREVIOUS_RELEASE: ^
REVISION: -^
AUTHOR : SoftwareDiamonds.com E<lt>support@SoftwareDiamonds.comE<gt>^
ABSTRACT:
Objectify the Test module,
adds the skip_test method to the Test module, and
adds the ability to compare complex data structures to the Test module.
^
TITLE : ExtUtils::SVDmaker::SVDtest - Test SVDmaker^
END_USER: General Public^
COPYRIGHT: copyright © 2003 Software Diamonds^
CLASSIFICATION: NONE^
TEMPLATE: ^
CSS: help.css^
SVD_FSPEC: Unix^
REPOSITORY:
http://www.softwarediamonds/packages/
http://www.perl.com/CPAN-local/authors/id/S/SO/SOFTDIA/
^
COMPRESS: gzip^
COMPRESS_SUFFIX: gz^
CHANGE2CURRENT: ^
RESTRUCTURE: ^
AUTO_REVISE:
lib/SVDtest1.pm
lib/module1.pm
t/SVDtest1.t
^
PREREQ_PM: 'File::Basename' => 0^
TESTS: t/SVDtest1.t^
EXE_FILES: ^
CHANGES:
This is the original release. There are no preivious releases to change.
^
CAPABILITIES: The ExtUtils::SVDmaker::SVDtest module is a SVDmaker test module. ^
PROBLEMS: There are no open issues.^
DOCUMENT_OVERVIEW:
This document releases ${NAME} version ${VERSION}
providing description of the inventory, installation
instructions and other information necessary to
utilize and track this release.
^
LICENSE:
Software Diamonds permits the redistribution
and use in source and binary forms, with or
without modification, provided that the
following conditions are met:
\=over 4
\=item 1
Redistributions of source code, modified or unmodified
must retain the above copyright notice, this list of
conditions and the following disclaimer.
\=item 2
Redistributions in binary form must
reproduce the above copyright notice,
this list of conditions and the following
disclaimer in the documentation and/or
other materials provided with the
distribution.
\=back
SOFTWARE DIAMONDS, http://www.SoftwareDiamonds.com,
PROVIDES THIS SOFTWARE
'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL SOFTWARE DIAMONDS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL,EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE,DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING USE OF THIS SOFTWARE, EVEN IF
ADVISED OF NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE POSSIBILITY OF SUCH DAMAGE.
^
INSTALLATION:
To installed the release file, use the CPAN module in the Perl release
or the INSTALL.PL script at the following web site:
http://packages.SoftwareDiamonds.com
Follow the instructions for the the chosen installation software.
The distribution file is at the following respositories:
${REPOSITORY}
^
SUPPORT: 603 882-0846 E<lt>support@SoftwareDiamonds.comE<gt>^
NOTES:
The following are useful acronyms:
\=over 4
\=item .d
extension for a Perl demo script file
\=item .pm
extension for a Perl Library Module
\=item .t
extension for a Perl test script file
\=item DID
Data Item Description
\=item POD
Plain Old Documentation
\=item STD
Software Test Description
\=item SVD
Software Version Description
\=back
^
SEE_ALSO:
\=over 4
\=item L<ExtUtils::SVDmake|ExtUtils::SVDmaker>
\=back
^
HTML:
<hr>
<p><br>
<!-- BLK ID="PROJECT_MANAGEMENT" -->
<!-- /BLK -->
<p><br>
<!-- BLK ID="NOTICE" -->
<!-- /BLK -->
<p><br>
<!-- BLK ID="OPT-IN" -->
<!-- /BLK -->
<p><br>
<!-- BLK ID="LOG_CGI" -->
<!-- /BLK -->
<p><br>
^
~-~
'
=> $s->scrub_date( $snl->fin( File::Spec->catfile( 'packages', 'SVDtest1-0.01', 'lib', 'SVDtest1.pm' ) ) )
'#!perl
#
# The copyright notice and plain old documentation (POD)
# are at the end of this file.
#
package SVDtest1;
use strict;
use warnings;
use warnings::register;
use vars qw($VERSION $DATE $FILE );
$VERSION = '0.01';
$DATE = '1969/02/06';
$FILE = __FILE__;
use vars qw(%INVENTORY);
%INVENTORY = (
'lib/SVDtest1.pm' => [qw(0.01 1969/02/06), 'new'],
'MANIFEST' => [qw(0.01 1969/02/06), 'generated new'],
'Makefile.PL' => [qw(0.01 1969/02/06), 'generated new'],
'README' => [qw(0.01 1969/02/06), 'generated new'],
'lib/SVDtest1.pm' => [qw(0.01 1969/02/06), 'new'],
'lib/module1.pm' => [qw(0.01 1969/02/06), 'new'],
't/SVDtest1.t' => [qw(0.01 1969/02/06), 'new'],
);
########
# The ExtUtils::SVDmaker module uses the data after the __DATA__
# token to generate this file.
#
# Don't edit anything before __DATA_. Edit instead
# the data after the __DATA__ token.
#
# ANY CHANGES MADE BEFORE the __DATA__ token WILL BE LOST
#
# the next time ExtUtils::SVDmaker generates this file.
#
#
=head1 Title Page
Software Version Description
for
ExtUtils::SVDmaker::SVDtest - Test SVDmaker
Revision: -
Version: 0.01
Date: 1969/02/06
Prepared for: General Public
Prepared by: SoftwareDiamonds.com E<lt>support@SoftwareDiamonds.comE<gt>
Copyright: copyright © 2003 Software Diamonds
Classification: NONE
=head1 1.0 SCOPE
This paragraph identifies and provides an overview
of the released files.
=head2 1.1 Identification
This release,
identified in L<3.2|/3.2 Inventory of software contents>,
is a collection of Perl modules that
extend the capabilities of the Perl language.
=head2 1.2 System overview
The ExtUtils::SVDmaker::SVDtest module is a SVDmaker test module.
=head2 1.3 Document overview.
This document releases SVDtest1 version 0.01
providing description of the inventory, installation
instructions and other information necessary to
utilize and track this release.
=head1 3.0 VERSION DESCRIPTION
All file specifications in this SVD
use the Unix operating
system file specification.
=head2 3.1 Inventory of materials released.
This document releases the file found
at the following repository(s):
http://www.softwarediamonds/packages/SVDtest1-0.01
http://www.perl.com/CPAN-local/authors/id/S/SO/SOFTDIA/SVDtest1-0.01
Restrictions regarding duplication and license provisions
are as follows:
=over 4
=item Copyright.
copyright © 2003 Software Diamonds
=item Copyright holder contact.
603 882-0846 E<lt>support@SoftwareDiamonds.comE<gt>
=item License.
Software Diamonds permits the redistribution
and use in source and binary forms, with or
without modification, provided that the
following conditions are met:
=over 4
=item 1
Redistributions of source code, modified or unmodified
must retain the above copyright notice, this list of
conditions and the following disclaimer.
=item 2
Redistributions in binary form must
reproduce the above copyright notice,
this list of conditions and the following
disclaimer in the documentation and/or
other materials provided with the
distribution.
=back
SOFTWARE DIAMONDS, http://www.SoftwareDiamonds.com,
PROVIDES THIS SOFTWARE
'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL SOFTWARE DIAMONDS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL,EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE,DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING USE OF THIS SOFTWARE, EVEN IF
ADVISED OF NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE POSSIBILITY OF SUCH DAMAGE.
=back
=head2 3.2 Inventory of software contents
The content of the released, compressed, archieve file,
consists of the following files:
file version date comment
------------------------------------------------------------ ------- ---------- ------------------------
lib/SVDtest1.pm 0.01 1969/02/06 new
MANIFEST 0.01 1969/02/06 generated new
Makefile.PL 0.01 1969/02/06 generated new
README 0.01 1969/02/06 generated new
lib/SVDtest1.pm 0.01 1969/02/06 new
lib/module1.pm 0.01 1969/02/06 new
t/SVDtest1.t 0.01 1969/02/06 new
=head2 3.3 Changes
This is the original release. There are no preivious releases to change.
=head2 3.4 Adaptation data.
This installation requires that the installation site
has the Perl programming language installed.
Installation sites running Microsoft Operating systems require
the installation of Unix utilities.
An excellent, highly recommended Unix utilities for Microsoft
operating systems is unxutils by Karl M. Syring.
A copy is available at the following web sites:
http://unxutils.sourceforge.net
http://packages.SoftwareDiamnds.com
There are no other additional requirements or tailoring needed of
configurations files, adaptation data or other software needed for this
installation particular to any installation site.
=head2 3.5 Related documents.
There are no related documents needed for the installation and
test of this release.
=head2 3.6 Installation instructions.
Instructions for installation, installation tests
and installation support are as follows:
=over 4
=item Installation Instructions.
To installed the release file, use the CPAN module in the Perl release
or the INSTALL.PL script at the following web site:
http://packages.SoftwareDiamonds.com
Follow the instructions for the the chosen installation software.
The distribution file is at the following respositories:
http://www.softwarediamonds/packages/SVDtest1-0.01
http://www.perl.com/CPAN-local/authors/id/S/SO/SOFTDIA/SVDtest1-0.01
=item Prerequistes.
'File::Basename' => 0
=item Security, privacy, or safety precautions.
None.
=item Installation Tests.
Most Perl installation software will run the following test script(s)
as part of the installation:
t/SVDtest1.t
=item Installation support.
If there are installation problems or questions with the installation
contact
603 882-0846 E<lt>support@SoftwareDiamonds.comE<gt>
=back
=head2 3.7 Possible problems and known errors
There are no open issues.
=head1 4.0 NOTES
The following are useful acronyms:
=over 4
=item .d
extension for a Perl demo script file
=item .pm
extension for a Perl Library Module
=item .t
extension for a Perl test script file
=item DID
Data Item Description
=item POD
Plain Old Documentation
=item STD
Software Test Description
=item SVD
Software Version Description
=back
=head1 2.0 SEE ALSO
=over 4
=item L<ExtUtils::SVDmake|ExtUtils::SVDmaker>
=back
=for html
<hr>
<p><br>
<!-- BLK ID="PROJECT_MANAGEMENT" -->
<!-- /BLK -->
<p><br>
<!-- BLK ID="NOTICE" -->
<!-- /BLK -->
<p><br>
<!-- BLK ID="OPT-IN" -->
<!-- /BLK -->
<p><br>
<!-- BLK ID="LOG_CGI" -->
<!-- /BLK -->
<p><br>
=cut
1;
__DATA__
DISTNAME: SVDtest1^
VERSION : 0.01^
REPOSITORY_DIR: packages^
FREEZE: 0^
PREVIOUS_DISTNAME: ^
PREVIOUS_RELEASE: ^
REVISION: -^
AUTHOR : SoftwareDiamonds.com E<lt>support@SoftwareDiamonds.comE<gt>^
ABSTRACT:
Objectify the Test module,
adds the skip_test method to the Test module, and
adds the ability to compare complex data structures to the Test module.
^
TITLE : ExtUtils::SVDmaker::SVDtest - Test SVDmaker^
END_USER: General Public^
COPYRIGHT: copyright © 2003 Software Diamonds^
CLASSIFICATION: NONE^
TEMPLATE: ^
CSS: help.css^
SVD_FSPEC: Unix^
REPOSITORY:
http://www.softwarediamonds/packages/
http://www.perl.com/CPAN-local/authors/id/S/SO/SOFTDIA/
^
COMPRESS: gzip^
COMPRESS_SUFFIX: gz^
CHANGE2CURRENT: ^
RESTRUCTURE: ^
AUTO_REVISE:
lib/SVDtest1.pm
lib/module1.pm
t/SVDtest1.t
^
PREREQ_PM: 'File::Basename' => 0^
TESTS: t/SVDtest1.t^
EXE_FILES: ^
CHANGES:
This is the original release. There are no preivious releases to change.
^
CAPABILITIES: The ExtUtils::SVDmaker::SVDtest module is a SVDmaker test module. ^
PROBLEMS: There are no open issues.^
DOCUMENT_OVERVIEW:
This document releases ${NAME} version ${VERSION}
providing description of the inventory, installation
instructions and other information necessary to
utilize and track this release.
^
LICENSE:
Software Diamonds permits the redistribution
and use in source and binary forms, with or
without modification, provided that the
following conditions are met:
\=over 4
\=item 1
Redistributions of source code, modified or unmodified
must retain the above copyright notice, this list of
conditions and the following disclaimer.
\=item 2
Redistributions in binary form must
reproduce the above copyright notice,
this list of conditions and the following
disclaimer in the documentation and/or
other materials provided with the
distribution.
\=back
SOFTWARE DIAMONDS, http://www.SoftwareDiamonds.com,
PROVIDES THIS SOFTWARE
'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL SOFTWARE DIAMONDS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL,EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE,DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING USE OF THIS SOFTWARE, EVEN IF
ADVISED OF NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE POSSIBILITY OF SUCH DAMAGE.
^
INSTALLATION:
To installed the release file, use the CPAN module in the Perl release
or the INSTALL.PL script at the following web site:
http://packages.SoftwareDiamonds.com
Follow the instructions for the the chosen installation software.
The distribution file is at the following respositories:
${REPOSITORY}
^
SUPPORT: 603 882-0846 E<lt>support@SoftwareDiamonds.comE<gt>^
NOTES:
The following are useful acronyms:
\=over 4
\=item .d
extension for a Perl demo script file
\=item .pm
extension for a Perl Library Module
\=item .t
extension for a Perl test script file
\=item DID
Data Item Description
\=item POD
Plain Old Documentation
\=item STD
Software Test Description
\=item SVD
Software Version Description
\=back
^
SEE_ALSO:
\=over 4
\=item L<ExtUtils::SVDmake|ExtUtils::SVDmaker>
\=back
^
HTML:
<hr>
<p><br>
<!-- BLK ID="PROJECT_MANAGEMENT" -->
<!-- /BLK -->
<p><br>
<!-- BLK ID="NOTICE" -->
<!-- /BLK -->
<p><br>
<!-- BLK ID="OPT-IN" -->
<!-- /BLK -->
<p><br>
<!-- BLK ID="LOG_CGI" -->
<!-- /BLK -->
<p><br>
^
~-~
'
=> $snl->fin( File::Spec->catfile( 'packages', 'SVDtest1-0.01', 'MANIFEST' ) )
'lib/SVDtest1.pm
MANIFEST
Makefile.PL
README
lib/SVDtest1.pm
lib/module1.pm
t/SVDtest1.t'
=> $snl->fin( File::Spec->catfile( 'packages', 'SVDtest1-0.01', 'Makefile.PL' ) )
'
####
#
# The module ExtUtils::STDmaker generated this file from the contents of
#
# SVDtest1
#
# Don't edit this file, edit instead
#
# SVDtest1
#
# ANY CHANGES MADE HERE WILL BE LOST
#
# the next time ExtUtils::STDmaker generates it.
#
#
use ExtUtils::MakeMaker;
my $tests = join ' ',unix2os('t/SVDtest1.t');
WriteMakefile(
NAME => 'SVDtest1',
DISTNAME => 'SVDtest1',
VERSION => '0.01',
dist => {COMPRESS => 'gzip',
'gz' => 'gz'},
test => {TESTS => $tests},
PREREQ_PM => {'File::Basename' => 0},
($] >= 5.005 ?
(AUTHOR => 'SoftwareDiamonds.com E<lt>support@SoftwareDiamonds.comE<gt>',
ABSTRACT => 'Objectify the Test module,
adds the skip_test method to the Test module, and
adds the ability to compare complex data structures to the Test module.', ) : ()),
);
use File::Spec;
use File::Spec::Unix;
sub unix2os
{
my @file = ();
foreach my $file (@_) {
my (undef, $dir, $file_unix) = File::Spec::Unix->splitpath( $file );
my @dir = File::Spec::Unix->splitdir( $dir );
push @file, File::Spec->catfile( @dir, $file_unix);
}
@file;
}
'
=> $s->scrub_date($snl->fin( File::Spec->catfile( 'packages', 'SVDtest1-0.01', 'README' ) ))
'Title Page
Software Version Description
for
ExtUtils::SVDmaker::SVDtest - Test SVDmaker
Revision: -
Version: 0.01
Date: 1969/02/06
Prepared for: General Public
Prepared by: SoftwareDiamonds.com E<lt>support@SoftwareDiamonds.comE<gt>
Copyright: copyright © 2003 Software Diamonds
Classification: NONE
1.0 SCOPE
This paragraph identifies and provides an overview of the released
files.
1.1 Identification
This release, identified in 3.2, is a collection of Perl modules that
extend the capabilities of the Perl language.
1.2 System overview
The ExtUtils::SVDmaker::SVDtest module is a SVDmaker test module.
1.3 Document overview.
This document releases SVDtest1 version 0.01 providing description of
the inventory, installation instructions and other information necessary
to utilize and track this release.
3.0 VERSION DESCRIPTION
All file specifications in this SVD use the Unix operating system file
specification.
3.1 Inventory of materials released.
This document releases the file found at the following repository(s):
http://www.softwarediamonds/packages/SVDtest1-0.01
http://www.perl.com/CPAN-local/authors/id/S/SO/SOFTDIA/SVDtest1-0.01
Restrictions regarding duplication and license provisions are as
follows:
Copyright.
copyright © 2003 Software Diamonds
Copyright holder contact.
603 882-0846 E<lt>support@SoftwareDiamonds.comE<gt>
License.
Software Diamonds permits the redistribution and use in source and
binary forms, with or without modification, provided that the
following conditions are met:
1 Redistributions of source code, modified or unmodified must
retain the above copyright notice, this list of conditions and
the following disclaimer.
2 Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
SOFTWARE DIAMONDS, http://www.SoftwareDiamonds.com, PROVIDES THIS
SOFTWARE 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
SOFTWARE DIAMONDS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL,EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
USE,DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING USE OF THIS SOFTWARE, EVEN IF ADVISED OF
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE POSSIBILITY
OF SUCH DAMAGE.
3.2 Inventory of software contents
The content of the released, compressed, archieve file, consists of the
following files:
file version date comment
------------------------------------------------------------ ------- ---------- ------------------------
lib/SVDtest1.pm 0.01 1969/02/06 new
MANIFEST 0.01 1969/02/06 generated new
Makefile.PL 0.01 1969/02/06 generated new
README 0.01 1969/02/06 generated new
lib/SVDtest1.pm 0.01 1969/02/06 new
lib/module1.pm 0.01 1969/02/06 new
t/SVDtest1.t 0.01 1969/02/06 new
3.3 Changes
This is the original release. There are no preivious releases to change.
3.4 Adaptation data.
This installation requires that the installation site has the Perl
programming language installed. Installation sites running Microsoft
Operating systems require the installation of Unix utilities. An
excellent, highly recommended Unix utilities for Microsoft operating
systems is unxutils by Karl M. Syring. A copy is available at the
following web sites:
http://unxutils.sourceforge.net
http://packages.SoftwareDiamnds.com
There are no other additional requirements or tailoring needed of
configurations files, adaptation data or other software needed for this
installation particular to any installation site.
3.5 Related documents.
There are no related documents needed for the installation and test of
this release.
3.6 Installation instructions.
Instructions for installation, installation tests and installation
support are as follows:
Installation Instructions.
To installed the release file, use the CPAN module in the Perl
release or the INSTALL.PL script at the following web site:
http://packages.SoftwareDiamonds.com
Follow the instructions for the the chosen installation software.
The distribution file is at the following respositories:
http://www.softwarediamonds/packages/SVDtest1-0.01
http://www.perl.com/CPAN-local/authors/id/S/SO/SOFTDIA/SVDtest1-0.01
Prerequistes.
'File::Basename' => 0
Security, privacy, or safety precautions.
None.
Installation Tests.
Most Perl installation software will run the following test
script(s) as part of the installation:
t/SVDtest1.t
Installation support.
If there are installation problems or questions with the
installation contact
603 882-0846 E<lt>support@SoftwareDiamonds.comE<gt>
3.7 Possible problems and known errors
There are no open issues.
4.0 NOTES
The following are useful acronyms:
.d extension for a Perl demo script file
.pm extension for a Perl Library Module
.t extension for a Perl test script file
DID Data Item Description
POD Plain Old Documentation
STD Software Test Description
SVD Software Version Description
2.0 SEE ALSO
ExtUtils::SVDmake
'
=> $s->scrub_date($snl->fin( File::Spec->catfile( 'packages', 'SVDtest1.ppd' ) ))
'<SOFTPKG NAME="SVDtest1" VERSION="0,01,0,0">
<TITLE>SVDtest1</TITLE>
<ABSTRACT>Objectify the Test module,
adds the skip_test method to the Test module, and
adds the ability to compare complex data structures to the Test module.</ABSTRACT>
<AUTHOR>SoftwareDiamonds.com E<lt>support@SoftwareDiamonds.comE<gt></AUTHOR>
<IMPLEMENTATION>
<DEPENDENCY NAME="File-Basename" VERSION="0,0,0,0" />
<OS NAME="MSWin32" />
<ARCHITECTURE NAME="MSWin32-x86-multi-thread" />
<CODEBASE HREF="SVDtest1-0.01.tar.gz" />
</IMPLEMENTATION>
</SOFTPKG>
'
=> -e File::Spec->catfile( 'packages', 'SVDtest1-0.01.tar.gz' )
'1'
=> skip_tests(0);
=> #######
=> # Freeze version based on previous version
=> #
=> rmtree (File::Spec->catdir( 'packages', 'SVDtest1-0.01'));
=> my $contents = $snl->fin( File::Spec->catfile( 'lib', 'SVDtest1.pm' ));
=> $contents =~ s/PREVIOUS_RELEASE\s*:\s+\^/PREVIOUS_RELEASE : 0.01^/;
=> $contents =~ s/FREEZE\s*:\s+.*?\^/FREEZE : 1^/;
=> $contents =~ s/VERSION\s*:\s+.*?\^/VERSION : 0.02^/;
=> $snl->fout( File::Spec->catfile( 'lib', 'SVDtest1.pm' ), $contents );
=>
=> unlink 'SVDtest1.log';
=> no warnings;
=> open SAVE_OUT, ">&STDOUT";
=> open SAVE_ERR, ">&STDERR";
=> use warnings;
=> open STDOUT,'> SVDtest1.log';
=> open STDERR, ">&STDOUT";
=> $svd = new ExtUtils::SVDmaker( );
=> skip_tests(1) unless $svd->vmake( {pm => 'SVDtest1'} );
=> close STDOUT;
=> close STDERR;
=> open STDOUT, ">&SAVE_OUT";
=> open STDERR, ">&SAVE_ERR";
=> $output = $snl->fin( 'SVDtest1.log' );
QUALITY ASSURANCE
The module "t::ExtUtils::SVDmaker::SVDmaker" is the Software Test Description(STD) module for the "ExtUtils::SVDmaker". module.
To generate all the test output files, run the generated test script, and run the demonstration script, execute the following in any directory:
tmake -verbose -replace -run -pm=t::ExtUtils::SVDmaker::SVDmaker
Note that tmake.pl must be in the execution path $ENV{PATH}
and the "t" directory on the same level as the "lib" that contains the "ExtUtils::SVDmaker" module.
NOTES
COPYRIGHT HOLDER
The holder of the copyright and maintainer is
E<lt>support@SoftwareDiamonds.comE<gt>
COPYRIGHT NOTICE
copyright © 2003 Software Diamonds.
All Rights Reserved
BINDING REQUIREMENTS NOTICE
Binding requirements are indexed with the pharse 'shall[dd]' where dd is an unique number for each header section. This conforms to standard federal government practices, 490A ("3.2.3.6" in STD490A). In accordance with the License, Software Diamonds is not liable for any requirement, binding or otherwise.
LICENSE
Software Diamonds permits the redistribution and use in source and binary forms, with or without modification, provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
SOFTWARE DIAMONDS PROVIDES THIS SOFTWARE 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SOFTWARE DIAMONDS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING USE OF THIS SOFTWARE, EVEN IF ADVISED OF NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE POSSIBILITY OF SUCH DAMAGE.
SEE ALSO
The 2167A bundle functional program modules that contain an end-user interface are as follows:
- Test::STDmaker
- ExtUtils::SVDmaker
- DataPort::FileType::FormDB
- DataPort::DataFile
- Test::Tech
- File::FileUtil
- Test::STD::TestUtil
The 2167A bundle design program modules that support the functional program modules are so specific that they have value only for support of the function program modules are as follows:
- Test::STD::Check
- Test::STD::FileGen
- Test::STD::STD2167
- Test::STD::STDgen
- Test::STDtype::Demo
- Test::STDtype::STD
- Test::STDtype::Verify
The ExtUtils::SVDmaker and Test::STDmaker automate of some of the US DOD 2167A Software Development Standard as established by the following US DOD documents:
- US DOD Software Development Standard
- US DOD Specification Practices
- Computer Operation Manual (COM) DID
- Computer Programming Manual (CPM) DID)
- Computer Resources Integrated Support Document (CRISD) DID
- Computer System Operator's Manual (CSOM) DID
- Database Design Description (DBDD) DID
- Engineering Change Proposal (ECP) DID
- Firmware support Manual (FSM) DID
- Interface Design Document (IDD) DID
- Interface Requirements Specification (IRS) DID
- Operation Concept Description (OCD) DID
- Specification Change Notice (SCN) DID
- Software Design Specification (SDD) DID
- Software Development Plan (SDP) DID
- Software Input and Output Manual (SIOM) DID
- Software Installation Plan (SIP) DID
- Software Programmer's Manual (SPM) DID
- Software Product Specification (SPS) DID
- Software Requirements Specification (SRS) DID
- System or Segment Design Document (SSDD) DID
- System or Subsystem Specification (SSS) DID
- Software Test Description (STD) DID
- Software Test Plan (STP) DID
- Software Test Report (STR) DID
- Software Transition Plan (STrP) DID
- Software User Manual (SUM) DID
- Software Version Description (SVD) DID
- Version Description Document (VDD) DID
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 2266:
Non-ASCII character seen before =encoding in '©'. Assuming CP1252