Andrew Bartlett
6c1ce36ec9
selftest pass in srcdir into Samba3 target module
2011-02-22 16:20:10 +11:00
Andrew Bartlett
a82d9e4e72
s3-selftest convert tests.sh to python
...
This should allow us a much better chance of invoking the subunit
wrappers in the right way, at the right level.
Andrew Bartlett
2011-02-22 16:20:10 +11:00
Andrew Tridgell
b038aca5c8
s4-loadparm: removed "setup directory" option
...
the correct setup directory is known at both build time and install
time using dyn_SETUPDIR, so we no longer have any need to override it
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:00 +11:00
Andrew Tridgell
6484da4859
s4-test: allow make test to work from top level directory
...
this fixes the path assumptions in Samba4 make test to allow it to
work from the top level directory.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:00 +11:00
Jeremy Allison
04987bd843
Explicitly set "nmbd: socket dir" in the test environment.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Jan 8 07:17:22 CET 2011 on sn-devel-104
2011-01-08 07:17:22 +01:00
Stefan Metzmacher
3b0425c8c7
selftest: setup $ENV{TEST_DATA_PREFIX}
...
metze
2010-12-27 15:37:55 +01:00
Jelmer Vernooij
002acbbbd0
selftest: Support multiple instances of $LISTOPT.
2010-12-11 18:48:05 +01:00
Jelmer Vernooij
5f6dd9a608
selftest: Check exit code when listing tests.
2010-12-10 03:04:06 +01:00
Jelmer Vernooij
a957d8c80f
selftest: Rename $LIST to $LISTOPT for consistency with testrepository.
2010-12-10 03:04:06 +01:00
Jelmer Vernooij
e6974b0ff0
selftest: add --list option.
2010-12-10 03:04:06 +01:00
Jelmer Vernooij
34adc745ef
selftest: Document --testenv in --help output, remove documentation for
...
now obsolete --analyse-cmd.
2010-12-10 03:04:06 +01:00
Jelmer Vernooij
7f32c21ef0
selftest: Even if setting up an environment failed, the next tests may
...
still work.
2010-11-21 23:12:03 +01:00
Andrew Tridgell
43f7c9ca26
s4-test: we don't need to set LDB_MODULES_PATH any more
2010-11-01 18:55:19 +11:00
Andrew Tridgell
a00657db75
s4-test: don't override modules dir
...
it is set correctly during the build
2010-10-30 23:49:02 +11:00
Andrew Tridgell
ac8e910686
s4-modules: remove LD_SAMBA_MODULE_PATH
...
this isn't needed now that we automatically get the module path right
in our build and install trees
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30 23:49:01 +11:00
Andrew Tridgell
75d57dbc25
selftest: terminate selftest if we can't setup the environment
2010-10-19 14:53:39 +11:00
Matthieu Patou
b1a13e5e14
selftest: correct the import of Time::HighRes
...
The "use" is always evaluated first even if enclosed into a if. So
on plateform without Time::Hires (ie. sun8 in the build farm). This
leads to an error.
Instead we use the synthax require Module + Module->import("function")
2010-10-18 19:09:07 +00:00
Andrew Tridgell
dfb664a182
s4-selftest: support 'make testenv SCREEN=1'
...
this can be used to start a test envioronment in screen windows.
Use:
make testenv SCREEN=1 SELFTEST_TESTENV=dc
to launch just one environment (in this case, "dc")
2010-10-02 21:11:53 -07:00
Jelmer Vernooij
fbee3586fd
selftest: Let selftest provide the tempdir, rather than creating it as sideeffect of tests.py.
2010-10-01 01:31:06 +00:00
Jelmer Vernooij
36ffe4f467
selftest: Abort early on SIGPIPE.
2010-09-28 09:12:39 +02:00
Jelmer Vernooij
ba5d034d53
selftest: If a testsuite is killed by a signal, let selftest die.
2010-09-25 12:20:56 -07:00
Andrew Bartlett
0bc3e15931
selftest Don't run 'speed' tests for very long
...
'make test' is too long, and the main thing we need with these
tests is to ensure they don't segfault - there is no need to benchmark
every box in the build farm, and we have no 'fail' metric in any case.
Andrew Bartlett
2010-09-24 09:25:44 +10:00
Jelmer Vernooij
e74b7091cd
selftest: Pass prefix to setup_env function.
2010-09-23 11:36:12 -07:00
Jelmer Vernooij
4c3985b584
selftest: Use variable for clientdir.
2010-09-23 11:36:12 -07:00
Jelmer Vernooij
20c95cf685
selftest: Fix testsuite counts when running only a limited number of
...
testsuites.
2010-09-22 22:29:09 -07:00
Jelmer Vernooij
3d0e6db9dc
selftest: Fix idlist running.
2010-09-22 22:29:09 -07:00
Jelmer Vernooij
9bce783878
selftest: Fix use of --load-list.
2010-09-22 22:29:08 -07:00
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