aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-03-09 11:45:38 -0700
committerDylan Baker <dylan@pnwbakers.com>2020-03-09 16:55:08 -0700
commit6d4df978e26ad79b1a3dad7ed4950f8254000996 (patch)
tree32d555ab3478c6b9f66c17d9a79179de3c9000b2 /run_project_tests.py
parent06bbf6cf9353f6b336b6ddaa76c235af7a6092fb (diff)
downloadmeson-6d4df978e26ad79b1a3dad7ed4950f8254000996.zip
meson-6d4df978e26ad79b1a3dad7ed4950f8254000996.tar.gz
meson-6d4df978e26ad79b1a3dad7ed4950f8254000996.tar.bz2
run_project_tests: fix argument type
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 16971f7..127ca4d 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -243,7 +243,7 @@ def setup_commands(optbackend):
uninstall_commands = get_backend_commands(backend, do_debug)
# TODO try to eliminate or at least reduce this function
-def platform_fix_name(fname: str, canonical_compiler: str, env: environment.EnvironmentException) -> str:
+def platform_fix_name(fname: str, canonical_compiler: str, env: environment.Environment) -> str:
if '?lib' in fname:
if env.machines.host.is_windows() and canonical_compiler == 'msvc':
fname = re.sub(r'lib/\?lib(.*)\.', r'bin/\1.', fname)