diff options
author | Mats Wichmann <mats@linux.com> | 2022-03-22 15:23:01 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2022-05-06 12:48:12 (GMT) |
commit | 29d5619e3e0a22cf542ae255e63216df0f259242 (patch) | |
tree | 92512fd2785c5047e56e8c07259eee25094bcef2 /testing | |
parent | a20954dcb143768a4977eaa3a2c86f575683a3ca (diff) | |
download | SCons-29d5619e3e0a22cf542ae255e63216df0f259242.zip SCons-29d5619e3e0a22cf542ae255e63216df0f259242.tar.gz SCons-29d5619e3e0a22cf542ae255e63216df0f259242.tar.bz2 |
Skip new content-timestamp-symlink test on win32
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'testing')
-rw-r--r-- | testing/framework/TestSCons.py | 7 |
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: |