This page reports information on embedded uClibc testsuite and LTP for uClibc-nptl on ST40.
The uClibc-nptl runtime libraries and utilities are available for the STLinux distribution in form of RPM packages.
Moreover the uClibc teststuite and LTP are available in a prebuilt form as well.
As mentioned above, you will find pre-built uClibc tests in:
#cd /usr/tests/uclibc/test |
Testuite will run by "make" command using the following parameters:
#make CHECK_ONLY=y UCLIBC_ONLY=y -k V=y |
CHECK_ONLY=y execute only tests without build it
UCLIBC_ONLY=y it will run only uClibc tests.
V=y Verbose (more output details)
-k in case of error test execution will forced to continue.
you need -k option because "assert" is expected to fail
NOTE:Math tests are partially disabled due to they require perl installed (not yet available on target)
| Test Area | Total Test | # Pass | # Fail |
|---|---|---|---|
| args | 1 | 1 | 0 |
| assert (fail expected) | 1 | 0 | 1 |
| crypt | 2 | 2 | 0 |
| ctype | 1 | 1 | 0 |
| dlopen | 6 | 6 | 0 |
| inet | 7 | 7 | 0 |
| malloc | 10 | 10 | 0 |
| math (partially run ) | 4 | 4 | 0 |
| misc | 12 | 12 | 0 |
| mmap | 2 | 2 | 0 |
| nptl | 183 | 180 | 3 |
| pthread | 7 | 7 | 0 |
| pwd_grp | 5 | 5 | 0 |
| regex | 10 | 10 | 0 |
| rpc | 1 | 1 | 0 |
| setjmp | 6 | 6 | 0 |
| signal | 6 | 6 | 0 |
| silly | 2 | 2 | 0 |
| stat | 2 | 2 | 0 |
| stdlib | 5 | 5 | 0 |
| string | 14 | 14 | 0 |
| termios | 1 | 1 | 0 |
| time | 6 | 5 | 1 |
| tls | 15 | 15 | 0 |
| unistd | 11 | 11 | 0 |
| Total: | 320 | 315 | 5 |