aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 86db599..d63dd38 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -114,6 +114,15 @@ class InstalledFile:
# Handle the different types
if self.typ == 'file':
return p
+ elif self.typ == 'shared_lib':
+ if env.machines.host.is_windows() or env.machines.host.is_cygwin():
+ return p.with_suffix('.dll')
+
+ p = p.with_name('lib{}'.format(p.name))
+ if env.machines.host.is_darwin():
+ return p.with_suffix('.dylib')
+ else:
+ return p.with_suffix('.so')
elif self.typ == 'exe':
if env.machines.host.is_windows() or env.machines.host.is_cygwin():
return p.with_suffix('.exe')