[compiler-rt] [test] Disable MPROTECT for XRay tests on NetBSD
authorMichał Górny <mgorny@gentoo.org>
Fri, 20 Dec 2019 21:08:01 +0000 (22:08 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 20 Dec 2019 21:08:01 +0000 (22:08 +0100)
compiler-rt/test/xray/lit.cfg.py

index 782d5a8..1b41ca6 100644 (file)
@@ -61,3 +61,6 @@ elif '64' not in config.host_arch:
       config.unsupported = True
   else:
     config.unsupported = True
+
+if config.host_os == 'NetBSD':
+  config.substitutions.insert(0, ('%run', config.netbsd_nomprotect_prefix))