mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
selftest:S4: do not add 'env python' multiple times'
While we have no sane reason to use VALGRIND_PROVISION=1 GDB_PROVISION=1 make test... we will soon gain PY_DEV_PROVISION, which could be useful in tandem with valgrind, rr, or gdb, and this will allow that. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
4fcdb01808
commit
9a332b4feb
@ -672,18 +672,17 @@ sub provision_raw_prepare($$$$$$$$$$$$$$)
|
||||
push (@provision_options, "OPENSSL_FORCE_FIPS_MODE=1");
|
||||
}
|
||||
|
||||
if (defined($ENV{GDB_PROVISION})) {
|
||||
push (@provision_options, "gdb --args");
|
||||
if (!defined($ENV{PYTHON})) {
|
||||
push (@provision_options, "env");
|
||||
push (@provision_options, "python");
|
||||
if (defined($ENV{GDB_PROVISION}) ||
|
||||
defined($ENV{VALGRIND_PROVISION})) {
|
||||
if (defined($ENV{GDB_PROVISION})) {
|
||||
push (@provision_options, "gdb --args");
|
||||
}
|
||||
if (defined($ENV{VALGRIND_PROVISION})) {
|
||||
push (@provision_options, "valgrind");
|
||||
}
|
||||
}
|
||||
if (defined($ENV{VALGRIND_PROVISION})) {
|
||||
push (@provision_options, "valgrind");
|
||||
if (!defined($ENV{PYTHON})) {
|
||||
push (@provision_options, "env");
|
||||
push (@provision_options, "python");
|
||||
push (@provision_options, "env");
|
||||
push (@provision_options, "python");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user