summaryrefslogtreecommitdiffstats
path: root/script
Commit message (Collapse)AuthorAgeFilesLines
* autobuild: adapt a commentMichael Adam2014-12-171-1/+1
| | | | | | | | | | | | The configure-option --with-cluster-support now only builds against the included ctdb, and it also builds the ctdb component. The comment in autobuild.py this patch changes was still from the olden days... Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Wed Dec 17 21:13:44 CET 2014 on sn-devel-104
* script/autobuild.py: use --picky-developer for the samba-ctdb targetStefan Metzmacher2014-12-171-1/+1
| | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Wed Dec 17 11:52:25 CET 2014 on sn-devel-104
* Revert "script/autobuild.py: build the samba target with --with-profiling-data"Stefan Metzmacher2014-12-161-1/+1
| | | | | | | | | | | | | | | | This reverts commit 4958fcdfa30fd9d8dc51ceafaab35721e61e72c7. This only works for a single user on a system, as only one can create the sysv shared memory segment. In future we'll use a tdb instead of sysv shared memory, then we can readd this. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Dec 16 11:25:47 CET 2014 on sn-devel-104
* script/autobuild.py: build the samba target with --with-profiling-dataStefan Metzmacher2014-12-151-1/+1
| | | | | | | | | | In future we may get also runtime tests for profiling... Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Mon Dec 15 16:20:14 CET 2014 on sn-devel-104
* script/autobuild.py: build 'samba' using --picky-developerStefan Metzmacher2014-11-251-1/+1
| | | | | | | | | | This makes sure we don't get unexpected new compiler warnings. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Nov 25 09:46:30 CET 2014 on sn-devel-104
* Print number of slow tests from script rather than wscript.Jelmer Vernooij2014-11-241-0/+2
| | | | | | | | | | Change-Id: I6eaa0803b95cc81f514a2176f4e06f1e3fff4077 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Mon Nov 24 13:06:46 CET 2014 on sn-devel-104
* Rewrite show_test_time in python and support --limit argument.Jelmer Vernooij2014-11-191-19/+39
| | | | | | Change-Id: I6c3f28ed52cc8597251aa195ec3c7e38587c2573 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* script: fix display of ten slowest tests if < 10 tests are run.Michael Adam2014-10-301-1/+1
| | | | | | | | | | | | | | | | | Note: $#array is the biggest index in an array in perl. @array evaluated in scalar context is the number of elements. Hence scalar(@array) = 1 + $#array Or equivalently: 0 + @array = 1 + $#array ... :-) Apart from this off-by-one error, the "unless" clause to trigger the capping of the number of tests listed was wrong. Hence if less then 10 tests were run, a number of blank lines were appended. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* script/show_testsuite_time: error out if number argument is not a decimal numberMichael Adam2014-10-301-0/+3
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* autobuild: check whether ctdbd has been installed in the samba-ctdb targetMichael Adam2014-10-281-0/+1
| | | | | | | | | | An intermediate test until we have full runtime-tests. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Tue Oct 28 08:05:40 CET 2014 on sn-devel-104
* autobuild: adapt samba-ctdb target does not need a separate ctdb build any moreMichael Adam2014-10-281-6/+1
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* scripts: Allow to specify a limit on the number of tests reportedMatthieu Patou2014-10-171-2/+8
| | | | | | | | | This allows to report the 10 most slowest for instance. Change-Id: I987520dbc28f598221c47df314d823f916312aab Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* script/autobuild.py: remove explicit --with-perl-*-install-dir optionsStefan Metzmacher2014-09-051-6/+3
| | | | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=10472 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Sep 5 22:09:47 CEST 2014 on sn-devel-104
* autobuild: fix ctdb build of samba-ctdb target after switch to waf.Michael Adam2014-06-211-2/+1
| | | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Sat Jun 21 02:05:38 CEST 2014 on sn-devel-104
* autobuild: Remove unsupported --enable-socket-wrapper option from the "ctdb" ↵Amitay Isaacs2014-06-201-1/+1
| | | | | | | | | target. Socket wrapper now works with LD_PRELOAD. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Michael Adam <obnox@samba.org>
* autobuild: Don't need autogen.sh anymore in the "ctdb" target.Amitay Isaacs2014-06-201-1/+0
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Michael Adam <obnox@samba.org>
* autobuild: fix samba-ctdb samba build to pick up right tdbMichael Adam2014-06-171-1/+1
| | | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Jun 17 11:58:00 CEST 2014 on sn-devel-104
* autobuild: add cflags and ldflags to find locally installed tdbMichael Adam2014-06-171-1/+1
| | | | | | | So that we can find our self-installed tdb lib and use new features. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* script/autobuild: make use of --with-perl-{arch,lib}-install-dirStefan Metzmacher2014-05-091-1/+3
| | | | | | | Bug: https://bugzilla.samba.org/show_bug.cgi?id=10472 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* script/autobuild: use --force-rebase optionStefan Metzmacher2014-03-131-2/+2
| | | | | | | This makes sure the current user will be the committer. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* autobuild: Set perl vendorlib direcotry.Andreas Schneider2014-03-061-3/+4
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* autobuild: Run "make dist" to ensure non-waf docs build is runAndrew Bartlett2014-03-041-1/+2
| | | | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Mar 4 05:00:27 CET 2014 on sn-devel-104
* param: change s3_param.h from a generated file to a static oneGarming Sam2014-02-201-31/+2
| | | | | | | Signed-off-by: Garming Sam <garming@catalyst.net.nz> Change-Id: I131e37ec92f7a826caec382023915c5e4b4c52be Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
* param: remove generated loadparm ctx table file and include it directlyGarming Sam2014-02-201-27/+2
| | | | | | | Signed-off-by: Garming Sam <garming@catalyst.net.nz> Change-Id: I5f1d42e3ae6495accf7a711938cc28c03ab2cd62 Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
* param: use loadparm_globals struct instead of lp function pointers in s3_helpersGarming Sam2014-02-201-34/+3
| | | | | | | Signed-off-by: Garming Sam <garming@catalyst.net.nz> Change-Id: I4507cdbf111b7f9dca3ca18ee2bf242ffdfeb4e7 Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
* lib/param: handle non-constant strings properly by passing in a memory contextGarming Sam2014-02-201-13/+18
| | | | | | | Signed-off-by: Garming Sam <garming@catalyst.net.nz> Change-Id: Ic6bb1c709defd2b0f35fc7b877da0badca385776 Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
* param: use generate_param.py to generate loadparm_ctx_table.cGarming Sam2014-02-121-139/+0
| | | | | | | Pair-programmed-with: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* param: use generate_param.py to generate s3_param.hGarming Sam2014-02-121-193/+0
| | | | | | | Pair-programmed-with: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* param: use generate_param.py to generate param_global.hGarming Sam2014-02-121-206/+0
| | | | | | | Pair-programmed-with: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* param: use generate_param.py to generate param_proto.hGarming Sam2014-02-121-199/+0
| | | | | | | Pair-programmed-with: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* lib/param: update generate_param.py to generate more of loadparmGarming Sam2014-02-121-24/+259
| | | | | | | | These files can now be generated directly from the xml rather than from param_functions.c Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* param: auto generate param_functions.c at build timeGarming Sam2014-02-121-0/+113
| | | | | | | | | | | generate_param.py reads the documentation to define which functions need to be generated. To add new parameters, edit the xml files in docs-xml/smbdotconf. Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* autobuild: Run ctdb regression testsAmitay Isaacs2013-11-281-0/+1
| | | | | | | | Pair-Programmed-with: Michael Adam <obnox@samba.org> Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net>
* autobuild: build the "ctdb" target with socket-wrapper enabledMichael Adam2013-11-281-1/+1
| | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* script: prepare librelease.sh for ntdb releasesStefan Metzmacher2013-11-171-1/+1
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sun Nov 17 12:50:13 CET 2013 on sn-devel-104
* random-sleep: add possiblity to override via environment variableMichael Adam2013-11-131-0/+4
| | | | | | | | | | | set AUTOBUILD_RANDOM_SLEEP_OVERRIDE=<x> to the number x of seconds that you want to sleep. This is added to make it possible to run one autobuild target without having to wait for several minutes. Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* autobuild: extend samba-ctdb target to build ctdb, tooMichael Adam2013-11-131-7/+14
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* autobuild: add a "ctdb" targetMichael Adam2013-11-131-1/+10
| | | | | | | | | For a start, this just builds and installs the integrated ctdb copy. It does not run "make test" in ctdb. This is time consuming and too flakey for now. Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* script: add ctdb-import.* scriptsStefan Metzmacher2013-11-133-0/+30
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* script/mks3param_ctx_table.pl: fix tabs/whitespaces in generated output.Stefan Metzmacher2013-10-181-2/+2
| | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Günther Deschner <gd@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Fri Oct 18 16:20:01 CEST 2013 on sn-devel-104
* param: Autogenerate s3 lp_ctx glue tableAndrew Bartlett2013-10-161-0/+139
| | | | | | | | This allows us to use more lpcfg_ functions without adding them manually. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3/param: Autogenerate parameters prototypes again after proto.h was frozenAndrew Bartlett2013-10-161-0/+199
| | | | | | | | | | | This autogenerates the parameters so that we can keep everything in sync easier, particularly when adding new parameters. This will also make it easier to move to a fully autogenerated system in the future, as it reduces special cases. Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* param: Skip generating hooks for local and string parametersAndrew Bartlett2013-10-161-1/+8
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* autobuild: remove remnants of removed samba3 targetsMichael Adam2013-05-291-2/+0
| | | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed May 29 09:35:16 CEST 2013 on sn-devel-104
* autobuild: Remove samba3 and samba3-ctdb targets to allow autoconf removal ↵Andrew Bartlett2013-05-281-23/+1
| | | | | | | | for 4.1 Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* autobuild.py add ntdb to the samba-libs task, to ensure it works as an ↵Andrew Bartlett2013-05-161-1/+5
| | | | | | external library Reviewed-by: Stefan Metzmacher <metze@samba.org>
* script: Add a script to display testsuite runtime sortedMatthieu Patou2013-01-091-0/+40
| | | | | Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-By: Andrew Bartlett <abartlet@samba.org>
* build: Be consistent with the name of smbtorture binariesAndrew Bartlett2012-11-221-2/+2
| | | | | | | | | | | | | | This ensures that in both build systems, smbtorture3 is the source3 binary, and smbtoture is our main smbtorture binary, built with waf. Also included in this is the removal of bin/ndrdump4 as a special case. This removes the last cases of binaries with different names in each build system. Andrew Bartlett Reviewed-by: Andreas Schneider <asn@samba.org>
* librelease.sh: Move the GPG data to the library section.Karolin Seeger2012-10-021-10/+24
| | | | | | | | | | | | Don't use the Library key for the samba releases. Karolin Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 7eb1f6ff178cb04a04dcaee88f15be850d239430) Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Oct 2 14:28:10 CEST 2012 on sn-devel-104
* Remove obsolete land-remote.py and land.py scripts.Jelmer Vernooij2012-09-262-854/+0
|