summaryrefslogtreecommitdiff
path: root/source4/torture/ui.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19537: Report correct test names when tests failed.Jelmer Vernooij1-1/+1
(This used to be commit 7b93b3c8be3d2a253b0737be893e7eb1b7c94dba)
2007-10-10r19387: Exit with 0 if failures were expectedJelmer Vernooij1-1/+3
(This used to be commit b4fc06aeafa3ed8460759409a72b4de43a534d62)
2007-10-10r19381: Print out the specific tests that failed after a smbtorture run.Jelmer Vernooij1-8/+65
Support listing known failures as a list of wildcards in the file `KNOWN_FAILURES'. (This used to be commit 23f66efd564d1ad549fc0cd60348f54808f5cafa)
2007-10-10r19378: Add another type of test result 'error'Jelmer Vernooij1-4/+4
(This used to be commit 77d13056bf437de77bfc94e21e9c945928e7f521)
2007-10-10r19377: Simplify report functions.Jelmer Vernooij1-20/+6
(This used to be commit 0061f3c47e95f07461837c4051cf129b18961b56)
2007-10-10r19376: Remove unused helper function.Jelmer Vernooij1-6/+0
(This used to be commit 88c589940dfbc04c747cea4f97c84142ea139050)
2007-10-10r19372: Fix segfault for ui's that don't support comments.Jelmer Vernooij1-1/+2
(This used to be commit 0eef6dabc6b6a4e883654c78a0b88cebb6b3d7cd)
2007-10-10r19350: Properly list LOCAL-TALLOC under the "LOCAL" header.Jelmer Vernooij1-2/+7
Support directories for subcategories in tests. Several small other fixes. (This used to be commit bde00d97068d559b025ab131ff698a82430d14b3)
2007-10-10r19343: Add support for external scripts/binaries that write results using theJelmer Vernooij1-16/+32
'subunit' protocol. This allows us to easily plug EJS scripts or binaries that can't depend on -ltorture into smbtorture. The protocol is very simple: - write "comments" to stderr Example output on stdout: test: foo success: foo test: bar success: bar test: blah failure: blah [ dummy.c:30: Expression 1 != 2 failed! ] test: blie skip: blie [ Iconv support not built in ] I've already converted the talloc testsuite. (This used to be commit e1742c14a247fabba969f8698108e73997d3f420)
2007-10-10r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij1-32/+141
output in the testsuite rather than just True or False for a set of tests. The aim is to use this for: * known failure lists (run all tests and detect tests that started working or started failing). This would allow us to get rid of the RPC-SAMBA3-* tests * nicer torture output * simplification of the testsuite system * compatibility with other unit testing systems * easier usage of smbtorture (being able to run one test and automatically set up the environment for that) This is still a work-in-progress; expect more updates over the next couple of days. (This used to be commit 0eb6097305776325c75081356309115f445a7218)
2007-10-10r19298: make sure torture_fail() gives a useful messageAndrew Tridgell1-0/+2
Jelmer, is there a better approach for this? (This used to be commit 67e2cf921709e0833362cb3b1bd5558f3c359033)
2007-10-10r18517: I find it less confusing if tests are run in the order they areAndrew Tridgell1-1/+1
added. (This used to be commit 3e1844b2b229d6e84436d6c455bef707d0efcafc)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij1-1/+1
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r16489: Because the torture/ui.h file isn't automaticly generated, theAndrew Bartlett1-3/+3
prototypes in it need to use the PRINTF_ATTRIBUTE() macro, rather than _PRINTF_ATTRIBUTE() (which becomes PRINTF_ATTRIBUTE() only in proto files, but not C files). This found a number of missing descriptions in the LOCAL-SOCKET test. Andrew Bartlett (This used to be commit 1009d55c8caa173e9998b38235c06b4ae4b30d80)
2007-10-10r16441: - give old tests a chance to report errorsStefan Metzmacher1-2/+6
- display the correct test name metze (This used to be commit 7d62b0b7e96222f29dd3cd6066523f517d757620)
2007-10-10r16332: Fix two small bugs found by the buildfarm.Jelmer Vernooij1-5/+7
(This used to be commit 3decb34bb607b83f72deaa4baca935f4f253e2f2)
2007-10-10r16328: Wrap all existing tests in simple single-function testsuites.Jelmer Vernooij1-30/+23
(This used to be commit 7e811adf59841936b7e634fca4e95630f890c5af)
2007-10-10r16321: Add suite_start/suite_finish hooks, support --format=quietJelmer Vernooij1-10/+37
(This used to be commit 6da39533d77f686b26787bebfe9e3db4bb8c740d)
2007-10-10r16315: Convert to new API.Jelmer Vernooij1-26/+35
(This used to be commit 0e52a831ed88b5d61033aee56a17e49b84df6773)
2007-10-10r16304: Improve testing UI API. This now allows registering the fullJelmer Vernooij1-51/+178
test suite tree, looks a bit more like other unit testing API's, fixes some memory responsibility issues, introduces testcases, and removes the need for tests to call torture_ok(). (This used to be commit 0445b1a56a02552f895f400960b9ced39244a144)
2007-10-10r16174: Couple of fixes to the UI code - make 'torture_ok()' optional, be ↵Jelmer Vernooij1-1/+17
more verbose by default. (This used to be commit 8ef13a50b9e80811342058cdf15cf84a8ed7532e)
2007-10-10r16165: Add some more helper utilitiesJelmer Vernooij1-0/+5
(This used to be commit 584cd50d2bbace27220427ab23d032b2aab7f047)
2007-10-10r15818: Improve UI utilities: allow format strings and add some convenience ↵Jelmer Vernooij1-5/+18
macros. (This used to be commit f0a4547b76bdc04c4dd32fccbb1a37a040868588)
2007-10-10r14723: Keep statisticsJelmer Vernooij1-0/+3
(This used to be commit 9d6eefad3a45aba52247d4364c9ef5a538f0abd5)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij1-1/+1
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r14718: Add initial work on a standardized UI for smbtortureJelmer Vernooij1-0/+76
(This used to be commit a15a8d87b50fe3011c009d3c030cf54ec86540b4)