aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-09-01 15:20:34 -0400
committerMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-09-05 11:50:23 -0400
commit3447767cac4afce6540b7442d206d80c3c99a552 (patch)
treeefd4276b2875a5e7456cece9fe6ccaeff9ca2b73 /run_project_tests.py
parentc8d380e4ef11cd1a72c785418f41dd420fbf6d1b (diff)
downloadmeson-3447767cac4afce6540b7442d206d80c3c99a552.zip
meson-3447767cac4afce6540b7442d206d80c3c99a552.tar.gz
meson-3447767cac4afce6540b7442d206d80c3c99a552.tar.bz2
PGI: windows PGI is sort of MSVC-like
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 2dff885..10dc8c6 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -114,7 +114,8 @@ def get_relative_files_list_from_dir(fromdir: Path) -> typing.List[Path]:
def platform_fix_name(fname: str, compiler, env) -> str:
# canonicalize compiler
- if compiler in {'clang-cl', 'intel-cl'}:
+ if (compiler in {'clang-cl', 'intel-cl'} or
+ (env.machines.host.is_windows() and compiler == 'pgi')):
canonical_compiler = 'msvc'
else:
canonical_compiler = compiler