The Open Group : Making Standards Work
About The Open Group The Open Group Forums Certification Collaboration Services
HOME   |   SITE MAP  
Sponsor an Event Become a Member of The Open Group The Open Group Member Area
Government Programs Events Bookstore & Downloads Newsroom Contact The Open Group
You are here: Home >Testing >Test Suites > VSPSE54
Test Suites
 
VSPSE54:1998

POSIX 1003.13-1998 Profile 54 Test Suite


Positioning

VSPSE54:1998 is a modular test suite for IEEE Std POSIX 1003.13-1998 Profile 54, which contains strategies conformant to that profile.  The PSE54 Test Package modifies three other Open Group Test Suites to form the a test suite for the system call and library parts of PSE54; VSX4, VSTH (Threads) and VSRT (Realtime) so that they offer options to limit the test coverage to the Units of Functionality contained in a profile 54 environment. Thus VSX4, VSTH and VSRT are prerequisite products. To test a full Profile 54 also requires the VSC test suite for Shell and Utilities. More information on VSC is available here

This Test Suite requires that TETware, VSXgen and the VSX4, VSTH and VSRT POSIX test suites are installed and configured.  It provides a configurable means of selecting which Units of Functionality are to be run by using a scenario file that is subdivided into scenarios for each of them.

Back to top


Execution

The script runPROFILE54 is an interface to the tcc command and, therefore, accept all the options of the tcc command. The goal of the runPROFILE54 is to make the running of the test suite easier by selecting the correct scenario file according to the Mode of Operation selected.

For example: ""runPROFILE54 -b" would run the testing of the build of all the test cases available in the three test suites that are profile 54 compliant.

"runPROFILE54 -e -y fopen" would run the testing of the execution of all the fopen test cases available in the three test suites that are profile 54 compliant.

You can also pass a Unit of Functionality to the script as a parameter (the list of Units of Functionality available are given at the end of this document). For example: "runPROFILE54 -b _POSIX_SEMAPHORES" would test the building of the functions that are covered by the POSIX_SEMAPHORES Unit of Functionality

Once the utility has run the relevant tests, runPROFILE54 will also give a summary of the results of the completed test run, showing the number of tests by Result Codes. A more detailed report is then produced and is available for the user in a file called vrpt.txt.

Units of Functionality

Below is the list of all the Units of Functionality available in the Profile 54 scenarios:

_POSIX_ASYNCHRONOUS_IO
_POSIX_FSYNC
_POSIX_MAPPED_FILES
_POSIX_MEMLOCK
_POSIX_MEMLOCK_RANGE
_POSIX_MEMORY_PROTECTION
_POSIX_MESSAGE_PASSING
_POSIX_PRIORITY_SCHEDULING
_POSIX_REALTIME_SIGNALS
_POSIX_SEMAPHORES
_POSIX_SHARED_MEMORY_OBJECTS
_POSIX_SYNCHRONIZED_IO
_POSIX_THREAD_PRIO_PROTECT
_POSIX_THREAD_PRIORITY_SCHEDUL
_POSIX_THREADS
_POSIX_TIMERS
POSIX_C_LANG_JUMP
POSIX_C_LANG_MATH
POSIX_C_LANG_SUPPORT
POSIX_C_LANG_SUPPORT_R
POSIX_DEVICE_IO
POSIX_DEVICE_SPECIFIC
POSIX_DEVICE_SPECIFIC_R
POSIX_FD_MGMT
POSIX_FIFO
POSIX_FILE_ATTRIBUTES
POSIX_FILE_LOCKING
POSIX_FILE_SYSTEM
POSIX_FILE_SYSTEM_R
POSIX_JOB_CONTROL
POSIX_MULTI_PROCESS
POSIX_PIPE
POSIX_SIGNALS
POSIX_SIGNAL_JUMP
POSIX_SINGLE_PROCESS
POSIX_SYSTEM_DATABASE
POSIX_SYSTEM_DATABASE_R
POSIX_USER_GROUPS
POSIX_USER_GROUPS_R

Back to top

Modular Design

VSPSE54:1998 is modular, both at the implementation level and at the user level. The testing process is divided into clear stages -

Each stage is clearly documented in the User and Installation Guide, which accompanies the product.

Preparation

This stage includes setting up user-ids and groups for testing, and reading the tape. This stage includes configuring and installing the TETware harness, which is used to control building, execution and cleanup of VSPSE54 tests.

Configuration and Installation

VSPSE54 automatically installs on most common platforms. Where system dependencies may vary, these are isolated into clearly defined user changeable sections of the test suite. During this stage VSPSE54 builds the test harness and associated libraries.

Test Building

VSPSE54 separates the building of the test harness and tools from the testsets themselves. The test suite may be built completely or in sub-sections, which decrease in granularity from test sections and areas down to individual testsets.

Test Execution

Once built, the test suite may be run as a whole in one pass, or in sub-sections which decrease in granularity from test areas down to individual tests within testsets. If you are producing an X/Open branding application the test suite must run in a single uninterrupted pass.

Test Reporting

VSPSE54 generates an intermediate level journal file in a TET compliant format. This is sufficient for debugging purposes. When a formal report is required, such as for X/Open branding then the formal report writers provided with VSPSE54 are used to process the journal file.

Back to top


POSIX is a registered trademark of the IEEE.


Further Information

Back to top

   
 

 

 

 
   |   Legal Notices & Terms of Use   |   Privacy Statement   |   Top of Page   Return to Top of Page