Samba4/Tests: Difference between revisions
From SambaWiki
No edit summary |
No edit summary |
||
(11 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
Test coverage information (regularly updated) can be found here: |
Test coverage information (regularly updated) can be found here: |
||
* http://samba.org/ |
* http://build.samba.org/lcov/data/magni/samba_4_0_test/ |
||
* http://samba.org/~jelmer/pidl_coverage/ |
|||
Some of the things I'm working on improving: |
|||
* Use selftest.pl |
|||
* Get smbtorture to output subunit data and use that for more granular test failure results |
|||
* call lcov after each test so we can record which test covers which lines |
|||
* move 'known failures' list to selftest.pl |
|||
Areas which need improvements wrt tests: |
Areas which need improvements wrt tests: |
||
* registry |
|||
* wins |
* wins |
||
* tls |
* tls |
||
* samba3 |
|||
* upgrade |
* upgrade |
||
* dsdb |
* dsdb |
||
Line 22: | Line 12: | ||
* ctdb |
* ctdb |
||
* lib/compression |
* lib/compression |
||
* lib/socket/access.c |
|||
* lib/socket_wrapper |
|||
* libcli/dgram |
* libcli/dgram |
||
* nbt_server/dgram |
* nbt_server/dgram |
||
Line 30: | Line 22: | ||
* web_server/ |
* web_server/ |
||
* winbind |
* winbind |
||
Blackbox tests: |
|||
* nmblookup |
|||
I'd also like to parse what tests have failed and what have succeeded in the build farm, so we can show a summary of what tests fail on the main build farm page. |
|||
== Test environments == |
|||
Currently supported test environments: |
|||
* dc - A standalone Samba 4 DC |
|||
* none - Nothing set up (used for local tests) |
|||
* member - Samba4 DC with domain member joined to it |
|||
== Run the testsuite with GDB == |
|||
* make test GDBTEST=1 |
|||
* ../buildtools/bin/waf test --quicktest --gdbtest |
|||
For other options see selftest/wscript file and assign values to dest keywords |
Latest revision as of 17:16, 3 May 2010
Test coverage information (regularly updated) can be found here:
Areas which need improvements wrt tests:
- wins
- tls
- upgrade
- dsdb
- client
- ctdb
- lib/compression
- lib/socket/access.c
- lib/socket_wrapper
- libcli/dgram
- nbt_server/dgram
- rpc_server/drsuapi
- rpc_server/epmapper
- rpc_server/remote
- rpc_server/wkssvc
- web_server/
- winbind
Blackbox tests:
- nmblookup
I'd also like to parse what tests have failed and what have succeeded in the build farm, so we can show a summary of what tests fail on the main build farm page.
Test environments
Currently supported test environments:
- dc - A standalone Samba 4 DC
- none - Nothing set up (used for local tests)
- member - Samba4 DC with domain member joined to it
Run the testsuite with GDB
- make test GDBTEST=1
- ../buildtools/bin/waf test --quicktest --gdbtest
For other options see selftest/wscript file and assign values to dest keywords