Stefan Metzmacher
c7f85146cb
script/bisect-test.py: add support git worktree
...
.git is not always a directory, with 'git worktree' it's a file.
Note we could also use 'git rev-parse --show-toplevel', but that's
a patch for another day.
Signed-off-by: Stefan Metzmacher <metze@samba.org >
Reviewed-by: Andreas Schneider <asn@samba.org >
2021-08-12 08:07:29 +00:00
Douglas Bagnall
5331f913ac
script/bisect-test: fix for py3
...
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2019-07-02 04:21:36 +00:00
Joe Guo
9d8e35ab97
PY3: change shebang to python3 in script dir
...
Signed-off-by: Joe Guo <joeg@catalyst.net.nz >
Reviewed-by: Noel Power <npower@samba.org >
2018-12-14 14:40:20 +01:00
Joe Guo
95c36d825c
PEP8: fix E401: multiple imports on one line
...
Signed-off-by: Joe Guo <joeg@catalyst.net.nz >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz >
2018-08-24 07:49:30 +02:00
Joe Guo
115f2a71b8
PEP8: fix E305: expected 2 blank lines after class or function definition, found 1
...
Signed-off-by: Joe Guo <joeg@catalyst.net.nz >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz >
2018-08-24 07:49:30 +02:00
Joe Guo
211c9a5f85
PEP8: fix E302: expected 2 blank lines, found 1
...
Signed-off-by: Joe Guo <joeg@catalyst.net.nz >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz >
2018-08-24 07:49:29 +02:00
Joe Guo
12d3fbe15c
PEP8: fix E231: missing whitespace after ','
...
Signed-off-by: Joe Guo <joeg@catalyst.net.nz >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz >
2018-08-24 07:49:28 +02:00
Joe Guo
32266d2d48
PEP8: fix E225: missing whitespace around operator
...
Signed-off-by: Joe Guo <joeg@catalyst.net.nz >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz >
2018-08-24 07:49:28 +02:00
Joe Guo
5d532543ab
PEP8: fix E128: continuation line under-indented for visual indent
...
Signed-off-by: Joe Guo <joeg@catalyst.net.nz >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz >
2018-08-24 07:49:27 +02:00
Douglas Bagnall
5fbb471443
scripts/ python: convert 'except X, e' to 'except X as e'
...
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2018-02-15 00:18:30 +01:00
Andrew Tridgell
add7ddb2e0
script: the --tests option has been replaced by --test-command
2010-10-15 09:32:03 +00:00
Andrew Tridgell
321bb40a2e
script: improvements to bisect-test.py
...
- allow control of all the commands (eg. specify configure command)
- do a bisect reset at the end
Autobuild-User: Andrew Tridgell <tridge@samba.org >
Autobuild-Date: Thu Oct 7 04:11:21 UTC 2010 on sn-devel-104
2010-10-07 04:11:21 +00:00
Andrew Tridgell
ed5e05a15d
bisect: more bisection options
...
and fixes for the old ones
Autobuild-User: Andrew Tridgell <tridge@samba.org >
Autobuild-Date: Sat Oct 2 06:14:46 UTC 2010 on sn-devel-104
2010-10-02 06:14:46 +00:00
Andrew Tridgell
018d23a293
script: added bisect-test.py git bisect script
...
this can be used to work out what commit broke a set of tests
2010-10-01 22:31:58 -07:00