VxWorks BSP Developer's Reference : VxWorks BSP Validation Test Suite

procNumGet

NAME

procNumGet - sysProcNumGet( ) test

SYNOPSIS

bspVal options procNumGet

DESCRIPTION

This test verifies the return value of the sysProcNumGet( ) routine. The entire test should not take more than a few seconds to run. See bspVal.sh for an explanation of options.

NOTE: This reference entry lists the most likely reasons for a test's failure. However, it does not list all possible reasons.
The first (and only) test compares the return value of sysProcNumGet( ) to the number specified by T1_BOOT_PROCNUM. If this test fails, check that sysProcNumGet( ) returns the correct target processor number information.

Barring serious hardware or software limitations (such as an identifiable VxWorks problem), the target board must pass all tests for the BSP to be validated.

CONFIGURATION PARAMETERS

T1_BOOT_PROCNUM 25
Expected result of sysProcNumGet( ). (required)

EXAMPLE

Output consists of:

                         BSP VALIDATION TEST
                         -------------------

    Target server                     : t53-160
    BSP                               : mv147
    Log file                          : /tmp/bspValidationLog.5219



    sysProcNumGet Test :
    sysProcNumGet() return value                              : PASS

                      Tests RUN           1
                      Tests PASSED        1
                      Tests FAILED        0
                      Tests SKIPPED       0

SEE ALSO

bspVal.sh, bspPkCommonProc.tcl, envLib.tcl