VxWorks BSP Developer's Reference : VxWorks BSP Validation Test Suite
procNumGet - sysProcNumGet( ) test
bspVal options procNumGet
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.
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.
NOTE: This reference entry lists the most likely reasons for a test's failure. However, it does not list all possible reasons. 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.
- T1_BOOT_PROCNUM 25
- Expected result of sysProcNumGet( ). (required)
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
bspVal.sh, bspPkCommonProc.tcl, envLib.tcl