C Library Functions  - unit_test_mode (3)

NAME

unit_test_mode(3f) - [M_framework__verify] set testing modes (LICENSE:PD)

CONTENTS

Synopsis
Description
Options
Examples
Author
License

SYNOPSIS

subroutine unit_test_mode( keep_going, flags, luns, command, & brief, interactive, CMDLINE, debug, match)

logical,intent(in) :: keep_going, brief, interactive,debug integer,intent(in),allocatable :: luns(:), flags(:) character(len=*),intent(in) :: command

DESCRIPTION

unit_test_mode(3f) changes testing mode defaults

OPTIONS

keep_going
  keep running if a test fails. Default to TRUE
flags a list of integer values that can be accessed from M_framework as unit_test_flags(:) for use in selecting various tests conditionally
luns list of Fortran units to unit test messages to. Defaults to the the value of ERROR_UNIT from the intrinsic module ISO_FORTRAN_ENV (ie. defaults to "stderr"). It is Assumed the units have been opened by the program.
match the string that is tested against the name and msg specified on unit_test_start() to set the "matched" argument.
command
  filter command, typically to generate reports. It is passed data on the command line. See the example filter "bookkeeper" for examples.
brief If present only "FAIL" messages are produced.
brief Only display FAIL messages and related information
verbose
  verbose mode displays compiler version and options and all standard messages.
silent no output from unit_test_*(3f) procedures
interactive
  prompt as each test case starts as to continue.
cmdline
  If set to .false. do not parse command line for options.
debug Debug mode for the M_framework package

EXAMPLES

Sample program:

   program demo_unit_test_mode
   use M_framework
   implicit none

call unit_test_mode(keep_going=.false.,luns=[6], & & brief=.true.)

end program demo_unit_test_mode

AUTHOR

John S. Urban

LICENSE

Public Domain


Nemo Release 3.1 unit_test_mode (3) July 22, 2023
Generated by manServer 1.08 from 5befade4-3c42-4afe-bb0c-ac9add535fe7 using man macros.