summaryrefslogtreecommitdiffstats
path: root/testing/framework
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2022-05-30 18:37:44 (GMT)
committerGitHub <noreply@github.com>2022-05-30 18:37:44 (GMT)
commitb94c8b09050f9927d0793b56f10b756f21cbfc91 (patch)
tree2c2f94467d05dcd4e75f3672eca0f8cbb1bcaad2 /testing/framework
parent150197f2273fa639aa4815a68f9bcd38d3068a8d (diff)
parent27a7837979f4ae5939e212c74a6f7a242df58de4 (diff)
downloadSCons-b94c8b09050f9927d0793b56f10b756f21cbfc91.zip
SCons-b94c8b09050f9927d0793b56f10b756f21cbfc91.tar.gz
SCons-b94c8b09050f9927d0793b56f10b756f21cbfc91.tar.bz2
Merge branch 'master' into 4162-python-311-unittests
Diffstat (limited to 'testing/framework')
-rw-r--r--testing/framework/TestSCons.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/testing/framework/TestSCons.py b/testing/framework/TestSCons.py
index 079e17d..ec82102 100644
--- a/testing/framework/TestSCons.py
+++ b/testing/framework/TestSCons.py
@@ -1665,7 +1665,12 @@ else:
alt_cpp_suffix = '.C'
return alt_cpp_suffix
- def platform_has_symlink(self):
+ def platform_has_symlink(self) -> bool:
+ """Retun an indication of whether symlink tests should be run.
+
+ Despite the name, we really mean "are they reliably usable"
+ rather than "do they exist" - basically the Windows case.
+ """
if not hasattr(os, 'symlink') or sys.platform == 'win32':
return False
else: