1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-20 14:03:59 +03:00

44 Commits

Author SHA1 Message Date
Stefan Metzmacher
bae564b0a3 selftest: make sure filter-subunit and format-subunit use unbuffered io
metze
2010-04-09 16:42:00 +02:00
Jelmer Vernooij
08161e093d selftest: Convert filter-subunit to Python so the subunit Python module
can be used later.
2010-03-31 02:20:07 +02:00
Jelmer Vernooij
ef3fb75261 selftest: Replace perl subunit formatter with python subunit formatter,
so we can leverage the work happening in python-subunit.
2010-03-30 01:08:20 +02:00
Jelmer Vernooij
b607f99688 Remove extension from format-subunit. 2010-03-28 21:46:58 +02:00
Jelmer Vernooij
24d52dc362 Fix the build, add filtered subunit runner. 2010-03-01 16:24:59 +01:00
Jelmer Vernooij
18943bba9c selftest: Use SUBUNIT_FORMATTER command, if set in the environment. 2010-01-20 11:05:04 +13:00
Stefan Metzmacher
ed5c3372de s4:selftest: use ${selftest_prefix} instead of hardcoded st/
metze
2009-12-08 09:19:35 +01:00
Andrew Tridgell
52083a8547 s4-selftest: show the test summary at the end of 'make test' in the build farm
This should make it easier to see what tests are failing with what
parameters
2009-12-08 15:59:10 +11:00
Stefan Metzmacher
49553d066b librpc: rerun "make idl"
metze
2009-11-26 11:47:42 +01:00
Stefan Metzmacher
39072c70d2 s4:selftest: allways start with $(ST_RM)
metze
2009-11-17 09:00:47 +01:00
Stefan Metzmacher
068d4336d6 s4:selftest: place summary file into selftest-prefix
metze
2009-11-17 09:00:47 +01:00
Andrew Bartlett
374e5937cd s4:selftest Fix 'make testenv-gdb' and 'make valgrindtest' etc
The problem here was that tridge's changes to ensure that test results
were always propogated didn't merge well with the addition of extra
environment variables for the 'make valgrindtest' and similar
environments.  By splitting out the macro further, we keep the build
farm reporting accurate, but allow these other test modes to work.

Andrew Bartlett
2009-09-08 10:51:50 +10:00
Andrew Tridgell
1b09e36f0b fixed make test reporting success when provision fails
We were getting build test 'pass' on the build farm when the provision
is failing. The cause was the use of filter pipelines in the selftest
code in the makefile. A bourne shell will by default report the error
status of the last element of the pipeline, which means when provision
failed, make thought everything had passed.

We could use the bash 'pipefail' option to fix this, but it isn't
portable, so instead I've modified the makefile to touch st/st_done
when the first element in the pipeline completes successfully. That
means we now get errors in make test, at the expense of making the
makefile even more horrible than it was.
2009-08-17 22:46:47 +10:00
Andrew Bartlett
ca526fbb3e s4:selftest Remove the 'subunit filter' from make testenv etc
The extra filter is no use for 'testenv', as we are not running tests,
but an xterm.  The filter also breaks running 'GDB_PROVISION=yes make
test', but at least if we can run 'GDB_PROVISION=yes make testenv'
then we can debug provision.

Andrew Bartlett
2009-08-17 11:08:42 +10:00
Jelmer Vernooij
718f9be8a2 selftest: Add option to strip output of succeeded tests, and use it on
the buildfarm.

The matches the behaviour we had earlier in the previous output format.
2009-06-12 14:34:24 +02:00
Jelmer Vernooij
8c10fb7f00 selftest: Output subunit on the buildfarm. 2009-06-12 14:21:03 +02:00
Jelmer Vernooij
68578d6374 selftest: Fix handling of testsuite, reintroduce progress indication. 2009-06-11 19:59:59 +02:00
Jelmer Vernooij
4308e69084 selftest: Fix subunit stream to include the right prefixes rather than
extending the subunit protocol.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
16a69f358a selftest: Use external processes for filtering known failures and pretty
formatting.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
24f01e70aa selftest: Use filter-xfail for known failures 2009-06-11 19:59:58 +02:00
Jelmer Vernooij
7ea3cc5f29 selftest: Use subunit internally, and a separate test output formatter. 2009-06-11 19:59:57 +02:00
Stefan Metzmacher
593ab6ac00 s4:selftest: rename SMBD_VALGRIND => SAMBA_VALGRIND
metze
2009-03-21 10:44:40 +01:00
Stefan Metzmacher
40b67c3426 selftest: pass down the path to python for provisioning samba4
metze
2009-01-30 20:39:44 +01:00
Stefan Metzmacher
6bc9fb887f selftest: move gdb_* and valgrind_* scripts to selftest/
metze
2008-10-28 12:20:59 +01:00
Jelmer Vernooij
7a683618e7 Require separate option for quicktest include list rather than making
assumptions about it.
2008-10-22 04:09:17 +02:00
Jelmer Vernooij
694a579cb8 Merge branch 'selftest' of git://git.samba.org/jelmer/samba 2008-10-19 10:20:37 +02:00
Jelmer Vernooij
06cdfb17b9 Support "make test-X" to run all tests that match regex X. 2008-10-11 22:22:29 +02:00
Jelmer Vernooij
0fd0fc75c4 Merge branch 'master' of ssh://git.samba.org/data/git/samba into selftest
Conflicts:
	selftest/selftest.pl
2008-10-11 03:12:21 +02:00
Jelmer Vernooij
c024fb7d57 Allow 'make testenv-dc', 'make testenv-member', etc. 2008-10-08 02:19:24 +02:00
Jelmer Vernooij
6a689c23e8 Rename smbd -> samba.
This reverts commit 05ea5e23cf4e70de0bd658b1c5c0ead133967091.

Conflicts:

	source4/smbd/server.c
2008-09-24 03:16:15 +02:00
Jelmer Vernooij
182a0e3490 Move selftest code to top-level. 2008-09-18 19:51:03 +02:00
Andrew Bartlett
13a498939a Fix 'make gdbtest-enb' and the GDB_PROVISION option.
(This used to be commit 79c4d8e2fabc9c33d978c064b9c01ca45e463ced)
2008-07-15 15:01:43 +10:00
Jelmer Vernooij
9c6b7f760a Use variable for selftest directory.
(This used to be commit 78760606fa71c370ae3c05b077c5146166bdaa7b)
2008-06-25 20:04:35 +02:00
Jelmer Vernooij
a127b1b1b0 Add samba4-slow file listing tests that succeed but are just slow.
Added a 'make slowtest' target that does run these tests.

Also added some comments in the test lists files.
(This used to be commit f67f3422b0fd319a3c6d3ccb3ea444a97c3ebaae)
2008-05-29 18:19:19 +02:00
Jelmer Vernooij
a31a2f082f Allow connecting to screen.
(This used to be commit a021408c9d78260b9abf7ebec4230b7958033a38)
2008-02-19 16:49:29 +01:00
Jelmer Vernooij
87f611ed69 Start and kill kvm instance properly.
(This used to be commit 78e49765a2ec5fac485dbf56143716e151b4b562)
2008-02-19 15:12:57 +01:00
Jelmer Vernooij
12e08782b3 Add Kvm start code.
(This used to be commit 6308c134b225dfa8574aa1370a7874ed6e572ccc)
2008-02-19 03:29:03 +01:00
Jelmer Vernooij
460ac1c585 Use mkinclude (makes the Makefile a bit shorter), use double-colon for phony makefile targets.
(This used to be commit ea7d389bcc284d2e9eeff79bce5c285269099ad3)
2008-02-09 16:05:55 +01:00
Jelmer Vernooij
af7e3dadf9 r26561: Fix make gdbtest, valgrindtest and testenv for shared libs.
(This used to be commit d2b9055bc032506849827d6fab2d2b9d35d132e2)
2007-12-24 01:51:00 -06:00
Jelmer Vernooij
6915cad127 r26560: Add script for running in valgrind.
(This used to be commit cb5d6a9ee27cea4a7a34c3249eed55f601630b82)
2007-12-24 01:51:00 -06:00
Jelmer Vernooij
9ca5a26746 r26546: Rather than having a gazillion targets, add output format variable for 'make test'.
(This used to be commit bd5217906c12c36df9769fc32aee77d9c1805bf2)
2007-12-21 06:28:47 +01:00
Jelmer Vernooij
b1cd9c39c3 r26486: Use portable run-time library path environment variable.
(This used to be commit 78c183b88661df90def42d6a3852dd6e36a5fd0b)
2007-12-21 05:50:44 +01:00
Jelmer Vernooij
dc8ece0e26 r25737: Integrate more of the test recipe code into one file, use
different mechanism for determining the quicktest list.

Quicktest is a bit verbose now (reports all the tests not run as SKIP:)
(This used to be commit e99e9c167f49c5f8762c7ad16b10ff4aab98091e)
2007-12-21 05:43:36 +01:00
Jelmer Vernooij
45c3d150d5 r25707: Move selftest makefile code to separate file.
(This used to be commit 9714db7814fd43d2a10485c041bbb761360c0826)
2007-12-21 05:43:23 +01:00