aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael <michaelbrockus@gmail.com>2020-02-02 17:19:42 -0800
committerMichael <michaelbrockus@gmail.com>2020-02-02 17:19:42 -0800
commitb2b7fca320156b6375cc69eed6621bedccef3827 (patch)
tree488037067319b689a69045edfcb7adece4e50270
parentec12b39658bfc26da8d66c54d077c09acf141636 (diff)
downloadmeson-b2b7fca320156b6375cc69eed6621bedccef3827.zip
meson-b2b7fca320156b6375cc69eed6621bedccef3827.tar.gz
meson-b2b7fca320156b6375cc69eed6621bedccef3827.tar.bz2
update test_templates in run_unittests.py
-rwxr-xr-xrun_unittests.py24
1 files changed, 21 insertions, 3 deletions
diff --git a/run_unittests.py b/run_unittests.py
index cf40955..78bdc68 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -3119,15 +3119,28 @@ int main(int argc, char **argv) {
except EnvironmentException:
pass
try:
+ env.detect_cs_compiler(MachineChoice.HOST)
+ langs.append('cs')
+ except EnvironmentException:
+ pass
+ try:
env.detect_d_compiler(MachineChoice.HOST)
langs.append('d')
except EnvironmentException:
pass
try:
+ env.detect_java_compiler(MachineChoice.HOST)
+ langs.append('java')
+ except EnvironmentException:
+ pass
+ try:
+ env.detect_cuda_compiler(MachineChoice.HOST)
+ langs.append('cuda')
+ except EnvironmentException:
+ pass
+ try:
env.detect_fortran_compiler(MachineChoice.HOST)
- if is_windows() or platform.machine().lower() != 'e2k':
- # Elbrus Fortran compiler can't generate debug information
- langs.append('fortran')
+ langs.append('fortran')
except EnvironmentException:
pass
try:
@@ -3135,6 +3148,11 @@ int main(int argc, char **argv) {
langs.append('objc')
except EnvironmentException:
pass
+ try:
+ env.detect_objcpp_compiler(MachineChoice.HOST)
+ langs.append('objcpp')
+ except EnvironmentException:
+ pass
# FIXME: omitting rust as Windows AppVeyor CI finds Rust but doesn't link correctly
for lang in langs: