Age | Commit message (Collapse) | Author | Files | Lines |
|
This changes the main selftest code to be in perl rather than in shell script.
The selftest script is now no longer a black box but a regular executable that takes
--help.
This adds the following features:
* "make test TESTS=foo" will run only the tests that match the regex "foo"
* ability to deal with expected failures. the suite will not warn about tests
that fail and are known to fail, but will warn about other failing tests and
tests that are succeeding tests but incorrectly marked as failing.
* ability to print a summary with all failures at the end of the run
It also opens up the way to the following features, which I hope to implement later:
* "environments", for example having a complete domains with DCs and domain members
in a testenvironment
* only set up smbd if necessary (not when running LOCAL tests, for example)
* different mktestsetup scripts per target. except for the mktestsetup script, we can
use the same infrastructure for samba 3 or windows.
(This used to be commit 38f867880beb40c691e9713f854426031310629c)
|
|
(This used to be commit 7512270ffae4e72d70f6ca347f09708f1bf915ad)
|
|
(This used to be commit afe0d170b08deb712b91ee73cc00a444e989b480)
|
|
(This used to be commit 7b93b3c8be3d2a253b0737be893e7eb1b7c94dba)
|
|
(This used to be commit b4fc06aeafa3ed8460759409a72b4de43a534d62)
|
|
Support listing known failures as a list of wildcards in the file
`KNOWN_FAILURES'.
(This used to be commit 23f66efd564d1ad549fc0cd60348f54808f5cafa)
|
|
(This used to be commit 77d13056bf437de77bfc94e21e9c945928e7f521)
|
|
(This used to be commit 0061f3c47e95f07461837c4051cf129b18961b56)
|
|
(This used to be commit 88c589940dfbc04c747cea4f97c84142ea139050)
|
|
(This used to be commit 0eef6dabc6b6a4e883654c78a0b88cebb6b3d7cd)
|
|
Support directories for subcategories in tests.
Several small other fixes.
(This used to be commit bde00d97068d559b025ab131ff698a82430d14b3)
|
|
'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)
|
|
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)
|
|
Jelmer, is there a better approach for this?
(This used to be commit 67e2cf921709e0833362cb3b1bd5558f3c359033)
|
|
added.
(This used to be commit 3e1844b2b229d6e84436d6c455bef707d0efcafc)
|
|
* 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)
|
|
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)
|
|
- display the correct test name
metze
(This used to be commit 7d62b0b7e96222f29dd3cd6066523f517d757620)
|
|
(This used to be commit 3decb34bb607b83f72deaa4baca935f4f253e2f2)
|
|
(This used to be commit 7e811adf59841936b7e634fca4e95630f890c5af)
|
|
(This used to be commit 6da39533d77f686b26787bebfe9e3db4bb8c740d)
|
|
(This used to be commit 0e52a831ed88b5d61033aee56a17e49b84df6773)
|
|
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)
|
|
more verbose by default.
(This used to be commit 8ef13a50b9e80811342058cdf15cf84a8ed7532e)
|
|
(This used to be commit 584cd50d2bbace27220427ab23d032b2aab7f047)
|
|
macros.
(This used to be commit f0a4547b76bdc04c4dd32fccbb1a37a040868588)
|
|
(This used to be commit 9d6eefad3a45aba52247d4364c9ef5a538f0abd5)
|
|
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
|
|
(This used to be commit a15a8d87b50fe3011c009d3c030cf54ec86540b4)
|