summaryrefslogtreecommitdiff
path: root/selftest/selftesthelpers.py
diff options
context:
space:
mode:
authorAdrian Cochrane <adrianc@catalyst.net.nz>2015-06-05 12:22:45 +1200
committerMichael Adam <obnox@samba.org>2015-06-08 13:03:14 +0200
commit62d413675589be921dbee4337399c948680f6bc3 (patch)
tree5b0bbc72822b042232a08cec5c54f5dfe61f2d1e /selftest/selftesthelpers.py
parent47ad5d27eb2ec3ec660a91658afd599df8570562 (diff)
downloadsamba-62d413675589be921dbee4337399c948680f6bc3.tar.gz
selftest: Remove binary mappings from the build system.
Signed-off-by: Adrian Cochrane <adrianc@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'selftest/selftesthelpers.py')
-rw-r--r--selftest/selftesthelpers.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/selftest/selftesthelpers.py b/selftest/selftesthelpers.py
index 8cd2a937293..0dfcf5428c4 100644
--- a/selftest/selftesthelpers.py
+++ b/selftest/selftesthelpers.py
@@ -34,22 +34,9 @@ def source3dir():
def bindir():
return os.path.normpath(os.getenv("BINDIR", "./bin"))
-binary_mapping = {}
-
def binpath(name):
- if name in binary_mapping:
- name = binary_mapping[name]
return os.path.join(bindir(), name)
-binary_mapping_string = os.getenv("BINARY_MAPPING", None)
-if binary_mapping_string is not None:
- for binmapping_entry in binary_mapping_string.split(','):
- try:
- (from_path, to_path) = binmapping_entry.split(':', 1)
- except ValueError:
- continue
- binary_mapping[from_path] = to_path
-
# Split perl variable to allow $PERL to be set to e.g. "perl -W"
perl = os.getenv("PERL", "perl").split()