Blame nss/lib/freebl/mpi/doc/mpi-test.pod

Packit 40b132
# This Source Code Form is subject to the terms of the Mozilla Public
Packit 40b132
# License, v. 2.0. If a copy of the MPL was not distributed with this
Packit 40b132
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Packit 40b132
Packit 40b132
=head1 NAME
Packit 40b132
Packit 40b132
 mpi-test - automated test program for MPI library
Packit 40b132
Packit 40b132
=head1 SYNOPSIS
Packit 40b132
Packit 40b132
 mpi-test <suite-name> [quiet]
Packit 40b132
 mpi-test list
Packit 40b132
 mpi-test help
Packit 40b132
Packit 40b132
=head1 DESCRIPTION
Packit 40b132
Packit 40b132
The B<mpi-test> program is a general unit test driver for the MPI
Packit 40b132
library.  It is used to verify that the library works as it is
Packit 40b132
supposed to on your architecture.  As with most such things, passing
Packit 40b132
all the tests in B<mpi-test> does not guarantee the code is correct,
Packit 40b132
but if any of them fail, there are certainly problems.
Packit 40b132
Packit 40b132
Each major function of the library can be tested individually.  For a
Packit 40b132
list of the test suites understood by B<mpi-test>, run it with the
Packit 40b132
I<list> command line option:
Packit 40b132
Packit 40b132
 mpi-test list
Packit 40b132
Packit 40b132
This will display a list of the available test suites and a brief
Packit 40b132
synopsis of what each one does.  For a brief overview of this
Packit 40b132
document, run B<mpi-test> I<help>.
Packit 40b132
Packit 40b132
B<mpi-test> exits with a zero status if the selected test succeeds, or
Packit 40b132
a nonzero status if it fails.  If a I<suite-name> which is not
Packit 40b132
understood by B<mpi-test> is given, a diagnostic is printed to the
Packit 40b132
standard error, and the program exits with a result code of 2.  If a
Packit 40b132
test fails, the result code will be 1, and a diagnostic is ordinarily
Packit 40b132
printed to the standard error.  However, if the I<quiet> option is
Packit 40b132
provided, these diagnostics will be suppressed.
Packit 40b132
Packit 40b132
=head1 RESTRICTIONS
Packit 40b132
Packit 40b132
Only a few canned test cases are provided.  The solutions have been
Packit 40b132
verified using the GNU bc(1) program, so bugs there may cause problems
Packit 40b132
here; however, this is very unlikely, so if a test fails, it is almost
Packit 40b132
certainly my fault, not bc(1)'s.
Packit 40b132
Packit 40b132
=head1 AUTHOR
Packit 40b132
Packit 40b132
 Michael J. Fromberger <sting@linguist.dartmouth.edu>
Packit 40b132
 Thayer School of Engineering, Hanover, New Hampshire, USA