Project

General

Profile

Actions

Testbed » History » Revision 2

« Previous | Revision 2/6 (diff) | Next »
Anonymous, 01/25/2016 11:48 AM


Testbed

The S/PHI/nX testbed

The S/PHI/nX testbed allows to check for basic functionality of the compiled programs after building. It can be found in the sphinx/testbed folder. Running the testbed requires GNU make, which is the default make on most Unix systems.

Setup

cd sphinx/testbed
./setup
./configure --with-sxdir=BUILD/PATH/TO/BE/CHECKED

The configure line can be omitted if the build to be checked is ../src (standard S/PHI/nX user build). When debug and release mode have been compiled, typical choices for BUILD/PATH/TO/BE/CHECKED will be ../debug or ../release .

Running the testbed

The testbed can be run with

make level1 level2

On multi-processor machines, parallel make ( make -j N ) is possible; where N is the number of processors. Level 1 checks are typically quick to run. Level 2 checks may be slow, in particular by the debug mode. The two levels can be run independently.

It is also possible to run individual tests via

make -C TO_BE_TESTED run

Reports

Reports are generated as a set of html pages in the report/ folder via

make reports

Parallel make is not possible.

The report can then be viewed with your favorite web browser, e.g.

firefox report/index.html

Individual test reports are generated via

make -C TO_BE_TESTED report

The test report will be attached to the end of the report/index.html file. Note that for technical reasons, graphs from previous test failures will be included in the new report if the report/ folder has not been cleaned.

Updated by Anonymous about 8 years ago · 2 revisions