Matthieu Patou
902e7288a7
selftest: use full path for selftest.pl instead of relative paths
...
FindBin on solaris8 with perl 5.04 has problem to get the path of the
called script if the script is called with a relative path.
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Mon Oct 18 19:50:03 UTC 2010 on sn-devel-104
2010-10-18 19:50:03 +00:00
Matthieu Patou
9d958ce582
build: make make tests SCREEN=1 work on freebsd
2010-10-10 16:03:35 +04: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
Andrew Tridgell
29e1a847dd
s4-selftest: silence warnings about bind chown
2010-10-02 21:11:52 -07:00
Andrew Tridgell
b772871f4c
s4-selftest: added --screen option for test
...
you can now do:
make test TESTS="some test" SCREEN=1
while in GNU screen, and all the samba servers will launch in their
own new screen, named after the server name.
You can also do:
make test TESTS="some test" SCREEN=1 VALGRIND_SERVER=1
to run valgrind on each samba server, or
make test TESTS="some test" SCREEN=1 GDBTEST=1
to run gdb on each server
2010-10-02 21:11:52 -07:00
Jelmer Vernooij
1611499ec6
s4-selftest: Finish conversion of selftest.sh to Python.
2010-10-01 02:05:36 +02:00
Andrew Tridgell
c12f1a1e91
s4-selftest: added a --fail-immediately option to s4 test
...
this can be used to force an immediate test failure on the first
failed test case. You can also use:
make test FAIL_IMMEDIATELY=1
2010-09-28 09:12:39 +02:00
Andrew Tridgell
fcf576f002
s4-selftest: enable logging in valgrind server xterm
...
when running with valgrind on the server, enable logging in the xterm
so you get a permanent record of any errors
2010-09-15 15:39:36 +10:00
Jelmer Vernooij
e0aa54d0ed
selftest: Store the output of the last test run in st/subunit.
...
If a testrepository repository is present, add the test output when it
has completed.
2010-06-25 01:21:14 +02:00
Stefan Metzmacher
47f74c89c9
s4:selftest: add --socket-wrapper[-keep]-pcap options to "waf test"
...
metze
2010-05-10 12:20:26 +02:00
Stefan Metzmacher
2fd0137a87
s4:selftest/wscript: --enable-selftest and --with-selftest-prefix are configure options
...
metze
2010-04-15 09:34:02 +02:00
Stefan Metzmacher
bae564b0a3
selftest: make sure filter-subunit and format-subunit use unbuffered io
...
metze
2010-04-09 16:42:00 +02:00
Andrew Tridgell
a591b8497d
s4-waf: added --gdbtest option for waf test
2010-04-09 20:44:25 +10:00
Jelmer Vernooij
d0c25157e9
selftest: Add --filtered-subunit option.
2010-04-08 23:20:35 +02:00
Jelmer Vernooij
b59ba79b95
s4-waf: Support --load-list option.
2010-04-08 23:20:35 +02:00
Thomas Nagy
7f3116a63d
build: allow the waf build to work with python 3.0 and 3.1
...
Python 3.x is a bit fussier about print statements and indentation.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-08 07:46:39 +10:00
Andrew Tridgell
4731442dfa
s4-waf: format-subunit and filter-subunit are in python now
2010-04-06 20:27:22 +10:00
Andrew Tridgell
60bfedb8f4
s4-waf: filter-subunit has been renamed
2010-04-06 20:27:22 +10:00
Andrew Tridgell
77a4fe495e
s4-waf: added a --enable-selftest option as a shortcut
...
This is equiavalent to --enable-uid-wrapper --enable-nss-wrapper --enable-socket-wrapper
but is easier to remember!
2010-04-06 20:27:17 +10:00
Andrew Tridgell
9da89b4dda
s4-waf: show the fully expanded test command
...
this makes it easier to run it separately
2010-04-06 20:27:17 +10:00
Andrew Tridgell
172b8c55f7
s4-waf: use the versions of perl/python found by configure
2010-04-06 20:27:17 +10:00
Andrew Tridgell
6c76919ab5
s4-waf: don't assume perl takes -W option
2010-04-06 20:27:17 +10:00
Andrew Tridgell
8692ad4950
s4-waf: updated for new perl subunit options and filter name
2010-04-06 20:27:16 +10:00
Andrew Tridgell
f9eae32f4b
s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
2010-04-06 20:27:11 +10:00
Andrew Tridgell
ba0c7edf80
s4-waf: set CONFIG_H variable for selftest
2010-04-06 20:27:09 +10:00
Andrew Tridgell
6c3b69be9b
build: honor existing LD_LIBRARY_PATH settings when adding shared lib paths
2010-04-06 20:27:06 +10:00
Andrew Tridgell
65ffd1240d
s4-waf: don't hardcode python path
2010-04-06 20:27:05 +10:00
Andrew Tridgell
e2a9af0be4
build: added --with-selftest-prefix
2010-04-06 20:27:01 +10:00
Andrew Tridgell
dc9010572c
build: support systems without rpath
2010-04-06 20:26:58 +10:00
Andrew Tridgell
3ff3a11c33
build: use RUN_COMMAND() to wrap os.system()
2010-04-06 20:26:53 +10:00
Andrew Tridgell
dc68427b0e
build: fixed st_done test completion code
2010-04-06 20:26:53 +10:00
Andrew Tridgell
495c5e2c83
build: added a lot more options to waf test
2010-04-06 20:26:50 +10:00
Andrew Tridgell
8a5c01a049
build: waf test now depends on build
2010-04-06 20:26:48 +10:00
Andrew Tridgell
5c0f9079c2
build: waf test now works (at least for some tests)
2010-04-06 20:26:48 +10:00
Andrew Tridgell
844acb2260
build: waf quicktest nearly works
...
Rewrote wafsamba using a new dependency handling system, and started
adding the waf test code
2010-04-06 20:26:48 +10:00
Andrew Tridgell
f15a81c1c0
build: added ASN1, PIDL and ET build rules
...
also added selftest example command
2010-04-06 20:26:38 +10:00