diff options
author | Adrian Cochrane <adrianc@catalyst.net.nz> | 2015-06-05 12:22:45 +1200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2015-06-08 13:03:14 +0200 |
commit | 62d413675589be921dbee4337399c948680f6bc3 (patch) | |
tree | 5b0bbc72822b042232a08cec5c54f5dfe61f2d1e /selftest/selftesthelpers.py | |
parent | 47ad5d27eb2ec3ec660a91658afd599df8570562 (diff) | |
download | samba-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.py | 13 |
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() |