MPDV(1)

NAME
mpdv - verify correct functioning of MPD system

SYNOPSIS
mpdv [ -option ... ] [ dir ... ]

DESCRIPTION
Mpdv executes verification scripts in subdirectories of the MPD verification suite. It is part of the MPD installation process and is not used by MPD programmers.

If one or more dir arguments are given, testing is restricted to those directories and descendents; otherwise the entire suite is searched. Within each subdirectory, a Script file directs the verification process. Each line contains an expected status code followed by a command. If the command returns an unexpected status, the test fails and (except for a run command) the script is abandoned. Empty lines, and lines beginning with #, are ignored.

For mpd, mpdl, mpdm, and mpdprof, commands, production or experimental versions are selected according to mpdv options, and output is redirected to reserved file names. A run command executes a.out, redirecting standard input if a file is named; output is directed to a related file and the results are compared with what was expected. Differences report a failure and disable rm commands but do not abandon the script. Other commands are simply executed by the shell with no special handling.

Mpdv normally finds binaries in the source hierarchy. The -p option selects instead the production (installed) version of the system. The options -c, -l, -r, and -t individually select the production versions of the compiler, linker, runtime system, and other tools respectively.

The -v option echoes each Script line as it is read.

FILES
Script	verification script
Compiler.out	compiler output
Linker.out	linker output
Maker.out	makefile maker output
Profiler.out	profiler output
xxxxx.std	expected output from input file `xxxxx'
xxxxx.out	actual output from input file `xxxxx'

SEE ALSO
mpdvi(1), mpd(1), mpdl(1), mpdm(1), mpdprof(1).

DIAGNOSTICS
Mpdv lists the MPD system files to be used, and aborts if any are inaccessible. Each directory is listed as testing begins. Any additional messages indicate a test failure.

CAVEATS
Mpdv does not detect infinite loops.

A full run starts slowly due to pipeline delays.

Quoted arguments don't work with the specially recognized commands.