diff options
| author | Petr Hosek <phosek@chromium.org> | 2017-12-12 00:31:46 +0000 |
|---|---|---|
| committer | Petr Hosek <phosek@chromium.org> | 2017-12-12 00:31:46 +0000 |
| commit | 17d71c014cdd93a71b9c6801c7da3344f893ba97 (patch) | |
| tree | 41ac3a103ba79b7d3c31edef6a5d8bcee1c32320 /lld/test/lit.cfg.py | |
| parent | f2356b3c05f55d9b03518f64d837f70a8d2206dd (diff) | |
| download | bcm5719-llvm-17d71c014cdd93a71b9c6801c7da3344f893ba97.tar.gz bcm5719-llvm-17d71c014cdd93a71b9c6801c7da3344f893ba97.zip | |
[ELF] Use shell to check the file permissions
This is less error-prone to mask settings than stat.
Differential Revision: https://reviews.llvm.org/D41097
llvm-svn: 320442
Diffstat (limited to 'lld/test/lit.cfg.py')
| -rw-r--r-- | lld/test/lit.cfg.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lld/test/lit.cfg.py b/lld/test/lit.cfg.py index f8436cab613..ae0dd187c60 100644 --- a/lld/test/lit.cfg.py +++ b/lld/test/lit.cfg.py @@ -91,11 +91,3 @@ if tar_executable: if 'GNU tar' in tar_version.stdout.read().decode(): config.available_features.add('gnutar') tar_version.wait() - -stat_executable = lit.util.which('stat', config.environment['PATH']) -if stat_executable: - stat_version = subprocess.Popen( - [stat_executable, '--version'], stdout=subprocess.PIPE, env={'LANG': 'C'}) - if 'GNU coreutils' in stat_version.stdout.read().decode(): - config.available_features.add('gnustat') - stat_version.wait() |

