Download X/Open System Verification Suite VSX-PCTS User
Transcript
X/Open System Verification Suite VSX-PCTS User and Installation Guide 6.5 CHECKING THE PARAMETER FILES When you have run the configuration script and answered the questions, VSX generates two files in the SRC directory. One contains configuration parameters and the other is a header file containing include file elements. 6.5.1 Configuration Parameters File The parameters file, named vsxparams, contains the configuration constants for your system which VSX uses during the installation and building stages. The installation stage uses the parameters file to modify makefiles to suit your system and to generate the files tetbuild.cfg, tetexec.cfg and tetclean.cfg which are used by the Test Case Controller. The parameters file contains a set of parameters which are defined in a format suitable for inclusion in a Bourne shell script: parameter−name="parameter−value" Note that you must include the quotation marks. A description of the use and possible values for the parameter precedes each parameter setting. You can change the values of parameters in the file without re-running the configuration script. hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh Action Points 1. Check the values in the configuration parameters file SRC/vsxparams and edit the parameter−name lines if necessary. 6.5.2 Configuration Header File The source files used in the installation and building stages of VSX will not compile unless your header files contain the definitions used by the source code for the subsets you have selected. The configuration script checks your system header files for these definitions and, when some are missing, creates a header file, named vsxconfig.h, with a list of the definitions which are missing from your system. Note that VSX uses NSIG in signal.h, which is not in POSIX.1. However, this is required to find the highest signal number. This must be set to the highest number that a signal can take plus one. When the configuration script adds a definition to this file, a message appears on the screen. Definitions The list may contain missing elements of the following types: 1. Where the value of a defined constant is unlikely to vary between systems, the configuration header file uses the most common value. 2. Where the value of a defined constant is likely to vary between systems, the configuration header file uses a value of −1. You can change the value to one which is more suitable for your system, or leave it as −1. However, VSX only functions correctly when all of these values have been changed to the correct values for your system. Some tests will fail when values are left as −1. For example if your signal.h file does not include the signal SIGABRT, you can map it onto the signal SIGIOT in the configuration header file, by adding the definition #define SIGABRT SIGIOT 3. Where defined constants are missing from the file limits.h, the configuration header file uses the minimum acceptable value. The Open Group VSXgen 1.4 Page 27