Skip to Main Content
Shared Source CLI Essentials
book

Shared Source CLI Essentials

by David Stutz, Geoff Shilling, Ted Neward
March 2003
Intermediate to advanced content levelIntermediate to advanced
384 pages
10h 55m
English
O'Reilly Media, Inc.
Content preview from Shared Source CLI Essentials

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

.NET IL Assembler

.NET IL Assembler

Serge Lidin

Publisher Resources

ISBN: 059600351XCatalog PageErrata