summaryrefslogtreecommitdiff
path: root/lld/test/lit.cfg.py
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2019-01-02 19:39:26 +0000
committerMichal Gorny <mgorny@gentoo.org>2019-01-02 19:39:26 +0000
commitceacc63e1facaf8e57952b631ffff94d320d0bec (patch)
tree6569adc0c50bbdbbfcd0d14f78d22bc8786425bb /lld/test/lit.cfg.py
parente13b1e3299c1feb642276491afc5a8cfec9e51b0 (diff)
downloadllvm-ceacc63e1facaf8e57952b631ffff94d320d0bec.tar.gz
[test] Enable system-linker-elf feature on NetBSD [NFC]
Since NetBSD uses ELF linker, enable the relevant feature. It's not currently used for anything, though. llvm-svn: 350253
Diffstat (limited to 'lld/test/lit.cfg.py')
-rw-r--r--lld/test/lit.cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/test/lit.cfg.py b/lld/test/lit.cfg.py
index 7bc966c912fa..967cba1e01cb 100644
--- a/lld/test/lit.cfg.py
+++ b/lld/test/lit.cfg.py
@@ -56,7 +56,7 @@ if lit_config.useValgrind:
config.target_triple += '-vg'
# Running on ELF based *nix
-if platform.system() in ['FreeBSD', 'Linux']:
+if platform.system() in ['FreeBSD', 'NetBSD', 'Linux']:
config.available_features.add('system-linker-elf')
# Set if host-cxxabi's demangler can handle target's symbols.