summaryrefslogtreecommitdiff
path: root/source4/script/tests/selftest.pl
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r22161: Clarify exactly where the socket_wrapper should be handled (early),Andrew Bartlett1-1/+4
and ensure that $prefix exists before it tries to create $prefix/w. This should fix the build farm. Perhaps we should have a rm -rf $prefix at the start of this script, as that would have found the problem, but I want to be careful about that... Andrew Bartlett (This used to be commit a230261e83fd9161e60554b74cf8556f36b1af45)
2007-10-10r22160: Only use test environment names that actually exist (get makeAndrew Bartlett1-0/+1
quicktest to pass). Ensure that when we fail on the build farm, this ends up in the total failures. I think having the 2 different functions for running the tests is just asking for this kind of failure. The build farm should be a presentation detail, and not alter the test behaviour. There is still a gremlin in there, we will fail horribly on the farm, but not on local tests... Andrew Bartlett (This used to be commit 519f3c0575748968ece2f556f370ade98c59ff05)
2007-10-10r22156: - Lazy evaluate variable names.Jelmer Vernooij1-29/+82
- Don't set up environments until necessary - Add --resetup-environment option - Add 'none' environment (This used to be commit ed0410309bfdefb0d31cb247c26b947956fb1137)
2007-10-10r22137: Actually use client.conf, defer more code as far as possible.Jelmer Vernooij1-17/+18
(This used to be commit 9399123a7277dbaf8dd392dd4ec2fe1c0780d486)
2007-10-10r22134: Create different smb.conf file for the client side. This should make ↵Jelmer Vernooij1-1/+31
use with Samba 3 or windows easier as well as environments. (This used to be commit a32cdc06c39b07fbc7a3015ef059cc9143fb6e20)
2007-10-10r22133: Don't push parameters into environment until necessary.Jelmer Vernooij1-5/+5
(This used to be commit 290815d180b2bf0ba24744b3796905096d07d7b7)
2007-10-10r22088: export PIDDIR to make the smbd pid show in 'make testenv' again.Andrew Bartlett1-1/+1
(This used to be commit 9e95871b3a70310b8c0ca92dfdb595d7cfc559d5)
2007-10-10r22077: Import only necessary test variables, more refactoring.Jelmer Vernooij1-6/+8
(This used to be commit 150bb2238ea91ead3bdde0a34ff801b79bc83ec3)
2007-10-10r22074: More refactoring.Jelmer Vernooij1-21/+6
(This used to be commit b0e0c5cb94fc6d96dff9acd55ec632e3dd461b17)
2007-10-10r21910: Clean up some unused functions.Jelmer Vernooij1-1/+2
(This used to be commit 36cd3406db06e3101cfede2f3935879cb11eeb93)
2007-10-10r21909: Merge some of my recent improvements to the test infrastructure:Jelmer Vernooij1-93/+65
- 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 (This used to be commit dbe9de10287c902f4a5ea5d431dea4a79f9b170b)
2007-10-10r21741: Like starting smbd, ensure we have acutally started slapd, and it isAndrew Bartlett1-1/+1
listening, before we continue. Andrew Bartlett (This used to be commit 171540e06a3eb42320238ad81bc9993e86137dc7)
2007-10-10r21733: Merge testenv back into core selftest.plJelmer Vernooij1-16/+32
(This used to be commit 4b78ed3a606b6697512f1e4e9b9c6c93816e71f8)
2007-10-10r21720: Try to make 'TEST_LDAP=yes make test' work again. These recentAndrew Bartlett1-1/+1
changes seem to have been lost in the merge, and some variables were not yet exported. Andrew Bartlett (This used to be commit ee9d9fb6c0bd3d4d01dea771025536ff83057072)
2007-10-10r21716: Report status in a way the build farm recognizes.Jelmer Vernooij1-0/+4
(This used to be commit 8d775e87b58d3f6d87338197728530c94b8c841b)
2007-10-10r21713: Redirect stderr output to stdout.Jelmer Vernooij1-1/+1
(This used to be commit a5000b286d6ffb847edf47404f82ff93173208c4)
2007-10-10r21709: Add a list of tests that should be skipped rather than ad-hoc test ↵Jelmer Vernooij1-3/+34
skipping in various places. (This used to be commit 01befd52111b8c183d78f9e0d80065fe0825b87c)
2007-10-10r21707: Finally merge my (long-living) perlselftest branch.Jelmer Vernooij1-155/+373
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)
2007-10-10r20756: Update to use generated recipes.Jelmer Vernooij1-7/+44
(This used to be commit 842637f78bbfb66ff669dadf3c7387dbc45feaf8)
2007-10-10r20739: Add more command-line options.Jelmer Vernooij1-19/+45
(This used to be commit 8ca927f8883ec7b7e9c91ae2c2df2cac2110601d)
2007-10-10r20737: Add option parsing.Jelmer Vernooij1-4/+33
(This used to be commit b1719ebf3812b79715cf4e549426d798571b4908)
2007-10-10r20693: Add reimplementation of selftest in perl. Once this has been testedJelmer Vernooij1-0/+253
more properly, I hope to use this as a replacement for the existing file. (This used to be commit 1e013aba7697716451c25eeab851b6812b2e066f)