Tests

The tests in the SSCLI are broken into two large sections, with each section broken into several smaller subsections. The large sections are:

PAL test suite

This test suite and driver were developed to act as a quality suite for the PAL, which is used to implement the SSCLI on multiple platforms.

SSCLI quality suites

These suites and the associated driver test everything else in the system.

PAL Test Suite

The PAL test suite is designed to validate the quality of the PAL. You can run this test suite before anything else in the SSCLI runs; therefore, it has no dependencies on anything running other than the PAL itself. The driver script for the PAL test suite is called pvtrun.pl. After you build the PAL, change directory to %ROTOR_DIR%/tests and execute the tests by running this script; it will execute around 1,200 tests from the palsuite directory.

The PAL test harness is located in the %ROTOR_DIR%/tests/harness/test_harness directory. The test harness uses several environment variables that indicate where to find its test list, where to store results, and where to find its helper driver xrun. These environment variables are usually set in a wrapper script, such as pvtrun.pl, but they can also be set individually in the environment for manual execution.

Additional tests are not run by default from the driver script. See the PAL test %ROTOR_DIR%/tests/palsuite/readme.txt for more details on running the remaining suites.

SSCLI Quality Suites

The SSCLI quality suites are the tests for ...

Get Shared Source CLI Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.