diff options
Diffstat (limited to 'lld/test/lit.cfg.py')
-rw-r--r-- | lld/test/lit.cfg.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lld/test/lit.cfg.py b/lld/test/lit.cfg.py index 05ebc23869a3..2ac2dd035d7a 100644 --- a/lld/test/lit.cfg.py +++ b/lld/test/lit.cfg.py @@ -85,6 +85,9 @@ if (lit.util.which('cvtres', config.environment['PATH'])) or \ if (config.llvm_libxml2_enabled == '1'): config.available_features.add('libxml2') +if config.have_dia_sdk: + config.available_features.add("diasdk") + tar_executable = lit.util.which('tar', config.environment['PATH']) if tar_executable: tar_version = subprocess.Popen( |