1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

75 Commits

Author SHA1 Message Date
Jelmer Vernooij
7e31704762 selftest: Remove unused --analyse argument. 2010-09-22 17:48:25 -07:00
Jelmer Vernooij
31d5ac0540 selftest: Let tests add prefix to tests by themselve. 2010-09-22 17:48:23 -07:00
Jelmer Vernooij
7c1b00f4a8 selftest: Use idlist testing for python tests. 2010-09-21 22:54:37 -07:00
Jelmer Vernooij
bf907d2c4a selftest: Support running individual tests using idlists, for testsuites that support them. 2010-09-21 22:54:35 -07:00
Jelmer Vernooij
e8b20039a7 selftest: Fix generation of test id file. 2010-09-21 22:54:34 -07:00
Jelmer Vernooij
d98754ca93 selftest: If setting up environment fails, mark testsuites that use it as
errorring, don't skip it.
2010-09-14 17:24:04 +02:00
Jelmer Vernooij
1e5ea0be84 subunit.pm: Fold Subunit::Filter into Subunit, trim further. 2010-09-14 10:54:28 +02:00
Jelmer Vernooij
d3960f6b40 subunit.pm: Simplify subunit handling in perl. 2010-09-14 10:54:28 +02:00
Jelmer Vernooij
49411fa107 subunit.pm: Pass through milliseconds in time reports. 2010-09-14 10:54:27 +02:00
Jelmer Vernooij
851ad13047 selftest: Cope with parentheses in testnames in --load-list. 2010-09-05 03:16:48 +02:00
Jelmer Vernooij
ef9657017c selftest: Print out unmatched tests when using --load-list. 2010-09-05 02:20:56 +02:00
Jelmer Vernooij
9550765304 testr: Fix configuration to use idfile, in case more than a couple of
hundred tests fail.
2010-09-04 21:13:37 +02:00
Jelmer Vernooij
bde18c6218 selftest: Don't make printing the log output a side-effect of check_env(), do it manually. 2010-09-04 21:08:35 +02:00
Jelmer Vernooij
3c2b733698 selftest: Remove stop() method, not used anywhere. 2010-09-04 18:24:02 +02:00
Andrew Tridgell
48323d88cc selftest: run client tests with log level 1
this PIDL print functions to display
2010-09-04 12:29:10 +10:00
Jelmer Vernooij
653b30f91f selftest: Clarify generation of idlist option. 2010-06-25 11:32:59 +02:00
Stefan Metzmacher
6a0db03c80 selftest: use 127.0.0.11-16 for the client
This gives more room for servers.

Note: socket_wrapper currently only supports 127.0.0.1-16
      see MAX_WRAPPED_INTERFACES.

metze
2010-06-17 09:11:59 +02:00
Andrew Bartlett
697cd13978 s4:selftest Add vampire_dc test environment
This starts a domain controller, after running 'net vampire' to
populate it.  We don't use it as the 'all' environment yet, as the
rest of the code isn't quite ready to handle it.

Andrew Bartlett
2010-06-16 09:57:51 +10:00
Günther Deschner
3854f0708e s3-selftest: Fix blackbox smbclient s3 tests during make selftest.
Guenther
2010-06-02 15:37:50 +02:00
Jelmer Vernooij
9db207da07 selftest: Cope with strict. 2010-04-12 16:35:18 +02:00
Jelmer Vernooij
64bf8c400c selftest: Support passing --load-list to test runners. 2010-04-10 22:38:32 +02:00
Jelmer Vernooij
ffb2449a13 selftest: Support --load-list option. 2010-04-08 23:20:35 +02:00
Jelmer Vernooij
31094b0e8c smbtorture: Report number of available tests in a testsuite using subunit. 2010-03-31 02:57:47 +02:00
Jelmer Vernooij
6c299d28b5 selftest: Use standard subunit command for progress reporting. 2010-03-31 02:20:08 +02:00
Jelmer Vernooij
b2eb609d4d selftest: Use standard subunit commands for progress reporting. 2010-03-31 02:20:08 +02:00
Andrew Bartlett
8529b0afc1 selftest: Remove dns_host_file every time we start 2010-03-12 13:22:20 +11:00
Stefan Metzmacher
46b0cbe879 selftest: let the client also use the dns_host_file
metze
2010-03-11 13:31:39 +01:00
Andrew Bartlett
a8b2088a0e s4:selftest Add infrastructure for testing against an RPC proxy
This also changes the 'testenv' code to use a new environment 'all'
(we may wish to make other complex tests depend on this in future),
and exports more names in more namespaces.

Andrew Bartlett
2010-02-19 16:32:49 +11:00
Günther Deschner
c971c10a63 s3-selftest: use absolute path when setting SOCKET_WRAPPER_DIR.
Guenther
2010-01-19 14:14:30 +01:00
Andrew Tridgell
d0123e0a9a s4-selftest: when a command fails show both normal and expanded command
It is sometimes hard to tell which varient of something like
$SMB_CONF_PATH or $USERNAME is being used in a test. By giving both
the expanded command ($command with environment variables expanded)
and non-expanded command it is easier to reproduce bugs outside the
test environment.
2010-01-11 09:55:28 +11:00
Andrew Tridgell
1eebdfdbe7 s4-test: fixed make test without having done make install
client.conf didn't specify "setup directory"
2010-01-11 09:38:00 +11:00
Stefan Metzmacher
259c1d73bf selftest: make sure we don't buffer any output
metze
2009-11-17 09:00:46 +01:00
Andrew Tridgell
606ff46447 selftest: make python run unbuffered
This makes some output in make test easier to follow
2009-10-22 12:47:54 +11:00
Andrew Tridgell
8d0959b2b1 selftest: try to get the valgrind errors showing again in the build farm 2009-10-19 22:58:23 +11:00
Andrew Tridgell
729c4b3eee s4-selftest: fixed 'make testenv'
The 'TERM' variable is used for terminal type, so we can't use it for
what terminal to use.
2009-10-19 21:37:20 +11:00
Andrew Tridgell
2d7b457e26 fixed TESTS= in make test to allow multiple tests
Now you can do: make test TESTS="test1 test2" and it will run those
two tests, each matching tests using a case insensitive substring
match
2009-08-14 13:05:06 +10:00
Stefan Metzmacher
303c3b363b selftest: configure "ncalrpc dir" for the client
Some torture tests will need this soon.

metze
2009-08-11 14:58:00 +02:00
Stefan Metzmacher
76d893b76e selftest: fix typo lock => lockdir
metze
2009-08-11 14:58:00 +02:00
Jelmer Vernooij
57cd98de72 selftest: report time after testsuite, gives nicer output on the
buildfarm.
2009-06-17 21:37:49 +02:00
Jelmer Vernooij
84f2d3001d selftest/subunit: Add diff command that can diff two subunit streams. 2009-06-11 19:59:59 +02:00
Jelmer Vernooij
d8a77a798b selftest: Properly recognize xfail testsuites. 2009-06-11 19:59:59 +02:00
Jelmer Vernooij
ed61cc5419 selftest: Fix subunit formatting, fix years when filtering subunit
streams.
2009-06-11 19:59:59 +02:00
Jelmer Vernooij
68578d6374 selftest: Fix handling of testsuite, reintroduce progress indication. 2009-06-11 19:59:59 +02:00
Jelmer Vernooij
e979560c13 selftest: Remove unnecessary uses. 2009-06-11 19:59:59 +02:00
Jelmer Vernooij
8a76e4ab29 selftest/subunit: Remove prefix command. 2009-06-11 19:59:58 +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
c278ee50ee More work supporting prefixes. 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
641f8d62df Support reporting current time in selftest output. 2009-06-03 16:26:30 +02:00