Android/NSPR/Tests: Difference between revisions
Jump to navigation
Jump to search
AlexPakhotin (talk | contribs) |
(add bug 546535) |
||
| (7 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
=NSPR Test Results= | =NSPR Test Results= | ||
'''First run'''<br> | |||
Tests ran on the emulator launched with these parameters: | Tests ran on the emulator launched with these parameters: | ||
emulator -avd android -memory 256 -partition-size 512 | emulator -avd android -memory 256 -partition-size 512 | ||
'''Second run'''<br> | |||
On Nexus One, Version 24178, Android Release 2.1-update1. | |||
{| style="width: 100%" class="fullwidth-table sortable" | {| style="width: 100%" class="fullwidth-table sortable" | ||
| Line 30: | Line 34: | ||
|bigfile || PASS | |bigfile || PASS | ||
|- | |- | ||
|bigfile2 || FAIL(1) || Requires 4GB file creation. | |bigfile2 || FAIL(1) || Requires 4GB file creation. {{bug|546535}} | ||
|- | |- | ||
|bigfile3 || FAIL(1) || -"- | |bigfile3 || FAIL(1) || -"- {{bug|546535}} | ||
|- | |- | ||
|cleanup || PASS | |cleanup || PASS | ||
| Line 70: | Line 74: | ||
|fsync || PASS | |fsync || PASS | ||
|- | |- | ||
|getai || | |getai || PASS* || Passes on Nexus One. Requires a host name provided as an argument.<br><strike>But it still fails in gethostbyname(). {{bug|558422}}</strike> | ||
|- | |- | ||
|gethost || | |gethost || PASS* || Passes on Nexus One.<br><strike>gethostbyname() returns NULL. {{bug|558422}}</strike> | ||
|- | |- | ||
|getproto || FAIL(1) || getprotobyname() and getprotobynumber() are not implemented in Android libc. | |getproto || FAIL(1) || getprotobyname() and getprotobynumber() are not implemented in Android libc.<br>{{bug|558415}} | ||
|- | |- | ||
|i2l || PASS | |i2l || PASS | ||
| Line 128: | Line 132: | ||
|multiacc || PASS | |multiacc || PASS | ||
|- | |- | ||
|multiwait || FAIL(139) | |multiwait || FAIL(139) || Error:<br>OneOpOneThread()<br>PR_PENDING_INTERRUPT_ERROR(-5993), oserror = 0<br>Assertion failure: PR_MW_TIMEOUT == desc_out->outcome, at multiwait.c:269<br>{{bug|558420}} | ||
|- | |- | ||
|nameshm1 || FAIL(1) || Shared memory functions are not implemented in Android libc. | |nameshm1 || FAIL(1) || Shared memory functions are not implemented in Android libc.<br>{{bug|558415}} | ||
|- | |- | ||
|nbconn || PASS | |nbconn || PASS | ||
| Line 178: | Line 182: | ||
|pollable || PASS | |pollable || PASS | ||
|- | |- | ||
|poll_er || FAIL(1) || poll() does not wait as expected, but returns right away. | |poll_er || FAIL(1) || poll() does not wait as expected, but returns right away.<br>The test is known to fail on some platforms.<br>{{bug|558423}} | ||
|- | |- | ||
|poll_nm || PASS | |poll_nm || PASS | ||
| Line 206: | Line 210: | ||
|reinit || PASS | |reinit || PASS | ||
|- | |- | ||
|rmdir || | |rmdir || PASS* || Passes on Nexus One.<br><strike>{{bug|556451}}</strike> | ||
|- | |- | ||
|rwlocktest || PASS | |rwlocktest || PASS | ||
| Line 224: | Line 228: | ||
|semaerr1 || - || This is a child process for semaerr. Not supposed to run standalone. | |semaerr1 || - || This is a child process for semaerr. Not supposed to run standalone. | ||
|- | |- | ||
|semaerr || FAIL(1) | |semaerr || FAIL(1)** | ||
|- | |- | ||
|sema || FAIL(1) | |sema || FAIL(1)** | ||
|- | |- | ||
|semaping || FAIL(1) | |semaping || FAIL(1)** | ||
|- | |- | ||
|semapong || - || This is a child process for semaping. Not supposed to run standalone. | |semapong || - || This is a child process for semaping. Not supposed to run standalone. | ||
| Line 284: | Line 288: | ||
|threads || PASS | |threads || PASS | ||
|- | |- | ||
|thrpool_client || | |thrpool_client || - || This is a child process for thrpool_server. Not supposed to run standalone. | ||
|- | |- | ||
|thrpool_server || PASS | |thrpool_server || PASS | ||
| Line 315: | Line 319: | ||
|- | |- | ||
|zerolen || PASS | |zerolen || PASS | ||
|- | |||
!colspan="3"|lib/tests | |||
|- | |||
|arena || PASS | |||
|- | |||
|base64t || PASS | |||
|- | |||
|getopt || PASS | |||
|- | |||
|string || PASS | |||
|- | |- | ||
|} | |} | ||
* - The test passes with a bug fix or when specific requirements are fulfilled. | * - The test passes with a bug fix or when specific requirements are fulfilled. | ||
** - Semaphore tests could be ignored as Firefox does not use NSPR interprocess semaphores. | |||
Latest revision as of 03:06, 2 July 2010
NSPR Test Results
First run
Tests ran on the emulator launched with these parameters:
emulator -avd android -memory 256 -partition-size 512
Second run
On Nexus One, Version 24178, Android Release 2.1-update1.
| Test name | Result | Notes |
|---|---|---|
| accept | PASS | |
| acceptreademu | PASS | |
| acceptread | PASS | |
| addrstr | PASS | |
| affinity | PASS | |
| alarm | PASS | |
| anonfm | PASS | |
| append | FAIL(1)* | bug 543556 |
| atomic | PASS | |
| attach | PASS | |
| bigfile | PASS | |
| bigfile2 | FAIL(1) | Requires 4GB file creation. bug 546535 |
| bigfile3 | FAIL(1) | -"- bug 546535 |
| cleanup | PASS | |
| cltsrv | PASS | |
| concur | PASS | |
| cvar | PASS | |
| cvar2 | PASS | |
| dceemu | PASS | |
| dlltest | PASS* | Needs dll/libmy.so to pass. |
| dtoa | PASS | |
| env | PASS | |
| errcodes | PASS | |
| errset | PASS | |
| exit | PASS | |
| fdcach | PASS | |
| fileio | PASS | |
| foreign | FAIL(139)* | bug 543556 |
| forktest | PASS | |
| formattm | FAIL(139)* | bug 545183 |
| fsync | PASS | |
| getai | PASS* | Passes on Nexus One. Requires a host name provided as an argument. |
| gethost | PASS* | Passes on Nexus One. |
| getproto | FAIL(1) | getprotobyname() and getprotobynumber() are not implemented in Android libc. bug 558415 |
| i2l | PASS | |
| initclk | PASS | |
| inrval | PASS | |
| instrumt | PASS | |
| intrio | PASS | |
| intrupt | PASS | |
| ioconthr | PASS | |
| io_timeout | PASS | |
| ipv6 | PASS | |
| joinkk | PASS | |
| joinku | PASS | |
| join | PASS | |
| joinuk | PASS | |
| joinuu | PASS | |
| layer | PASS | |
| lazyinit | PASS | |
| libfilename | FAIL(1)* | NSPR on Android currently expects libraries to be in /data/data/org.mozilla.gecko/lib directory, which implies that Fennec must be installed. The test itself also needs dll/libmy.so to pass. |
| lltest | PASS | |
| lockfile | PASS | |
| lock | PASS | |
| logfile | PASS | |
| logger | PASS | |
| makedir | PASS | |
| many_cv | PASS | |
| mbcs | FAIL(1)* | Requires an argument - a non-empty directory to traverse (subdirs must not be empty either). |
| multiacc | PASS | |
| multiwait | FAIL(139) | Error: OneOpOneThread() PR_PENDING_INTERRUPT_ERROR(-5993), oserror = 0 Assertion failure: PR_MW_TIMEOUT == desc_out->outcome, at multiwait.c:269 bug 558420 |
| nameshm1 | FAIL(1) | Shared memory functions are not implemented in Android libc. bug 558415 |
| nbconn | PASS | |
| nblayer | PASS | |
| nonblock | PASS | |
| ntioto | PASS | |
| ntoh | PASS | |
| obsints | PASS | |
| op_2long | PASS | |
| openfile | PASS | |
| op_excl | PASS | |
| op_filnf | PASS | |
| op_filok | FAIL(1)* | bug 556190 |
| op_noacc | FAIL(56)* | Succeeds when running not under root. |
| op_nofil | PASS | |
| parent | PASS | |
| parsetm | PASS | |
| peek | PASS | |
| perf | PASS | |
| pipeping | PASS | |
| pipeping2 | PASS | |
| pipepong | - | This is a child process for pipeping. Not supposed to run standalone. |
| pipepong2 | - | This is a child process for pipeping2. Not supposed to run standalone. |
| pipeself | PASS | |
| pollable | PASS | |
| poll_er | FAIL(1) | poll() does not wait as expected, but returns right away. The test is known to fail on some platforms. bug 558423 |
| poll_nm | PASS | |
| poll_to | PASS | |
| prftest1 | PASS | |
| prftest2 | PASS | |
| prftest | PASS | |
| primblok | PASS | |
| priotest | PASS | |
| provider | PASS | |
| prpollml | PASS | |
| prpoll | PASS | |
| randseed | PASS | |
| ranfile | PASS | |
| reinit | PASS | |
| rmdir | PASS* | Passes on Nexus One. |
| rwlocktest | PASS | |
| selct_er | PASS | |
| selct_nm | PASS | |
| selct_to | PASS | |
| select2 | - | Obsolete. PR_Select() is obsolete. |
| selintr | PASS | |
| sel_spd | PASS | |
| semaerr1 | - | This is a child process for semaerr. Not supposed to run standalone. |
| semaerr | FAIL(1)** | |
| sema | FAIL(1)** | |
| semaping | FAIL(1)** | |
| semapong | - | This is a child process for semaping. Not supposed to run standalone. |
| sem | PASS | |
| sendzlf | PASS | |
| server_test | PASS | |
| servr_kk | PASS | |
| servr_ku | PASS | |
| servr_uk | PASS | |
| servr_uu | PASS | |
| short_thread | PASS | |
| sigpipe | PASS | |
| socket | FAIL(1)* | bug 543556 |
| sockopt | PASS | |
| sockping | PASS | |
| sockpong | - | This is a child process for sockping. Not supposed to run standalone. |
| sprintf | PASS | |
| sproc_ch | PASS | |
| sproc_p | PASS | |
| stack | PASS | |
| stdio | PASS | |
| str2addr | PASS | |
| strod | PASS | |
| suspend | FAIL(139)* | bug 556948 |
| switch | PASS | |
| system | PASS | |
| testbit | PASS | |
| testfile | FAIL(2)* | bug 543556 |
| threads | PASS | |
| thrpool_client | - | This is a child process for thrpool_server. Not supposed to run standalone. |
| thrpool_server | PASS | |
| thruput | - | Needs to be run manually as client/server. |
| timemac | PASS | |
| timetest | PASS | |
| tmoacc | - | This is a child process for tmocon. Not supposed to run standalone. |
| tmocon | PASS | |
| tpd | PASS | |
| udpsrv | PASS | |
| vercheck | PASS | |
| version | PASS | |
| writev | PASS | |
| xnotify | PASS | |
| y2k | PASS | |
| y2ktmo | PASS | |
| zerolen | PASS | |
| lib/tests | ||
| arena | PASS | |
| base64t | PASS | |
| getopt | PASS | |
| string | PASS | |
* - The test passes with a bug fix or when specific requirements are fulfilled.
** - Semaphore tests could be ignored as Firefox does not use NSPR interprocess semaphores.