diff options
-rw-r--r-- | lit.cfg | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -24,9 +24,11 @@ config.suffixes = ['.test'] config.excludes = ['ABI-Testsuite'] config.traditional_output = False config.single_source = False -config.remote_host = lit_config.params.get('remote_host', config.remote_host) if 'SSH_AUTH_SOCK' in os.environ: config.environment['SSH_AUTH_SOCK'] = os.environ['SSH_AUTH_SOCK'] +if not hasattr(config, 'remote_host'): + config.remote_host = "" +config.remote_host = lit_config.params.get('remote_host', config.remote_host) if config.remote_host: config.test_modules.append('remote') |