1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-03 04:23:50 +03:00
Commit Graph

14 Commits

Author SHA1 Message Date
Jelmer Vernooij
b0e0c5cb94 r22074: More refactoring. 2007-10-10 14:49:47 -05:00
Jelmer Vernooij
36cd3406db r21910: Clean up some unused functions. 2007-10-10 14:49:38 -05:00
Jelmer Vernooij
dbe9de1028 r21909: Merge some of my recent improvements to the test infrastructure:
- Allow tests to specify what environment they need to run in (dc and none are thecurrent supported ones).

- Move more Samba4-specific code out of the common code
2007-10-10 14:49:37 -05:00
Andrew Bartlett
171540e06a r21741: Like starting smbd, ensure we have acutally started slapd, and it is
listening, before we continue.

Andrew Bartlett
2007-10-10 14:49:21 -05:00
Jelmer Vernooij
4b78ed3a60 r21733: Merge testenv back into core selftest.pl 2007-10-10 14:49:20 -05:00
Andrew Bartlett
ee9d9fb6c0 r21720: Try to make 'TEST_LDAP=yes make test' work again. These recent
changes seem to have been lost in the merge, and some variables were
not yet exported.

Andrew Bartlett
2007-10-10 14:49:18 -05:00
Jelmer Vernooij
8d775e87b5 r21716: Report status in a way the build farm recognizes. 2007-10-10 14:49:17 -05:00
Jelmer Vernooij
a5000b286d r21713: Redirect stderr output to stdout. 2007-10-10 14:49:17 -05:00
Jelmer Vernooij
01befd5211 r21709: Add a list of tests that should be skipped rather than ad-hoc test skipping in various places. 2007-10-10 14:49:16 -05:00
Jelmer Vernooij
38f867880b r21707: Finally merge my (long-living) perlselftest branch.
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.
2007-10-10 14:49:15 -05:00
Jelmer Vernooij
842637f78b r20756: Update to use generated recipes. 2007-10-10 14:40:45 -05:00
Jelmer Vernooij
8ca927f888 r20739: Add more command-line options. 2007-10-10 14:40:35 -05:00
Jelmer Vernooij
b1719ebf38 r20737: Add option parsing. 2007-10-10 14:40:35 -05:00
Jelmer Vernooij
1e013aba76 r20693: Add reimplementation of selftest in perl. Once this has been tested
more properly, I hope to use this as a replacement for the existing
file.
2007-10-10 14:40:23 -05:00