diff options
Diffstat (limited to 'QMTest')
-rw-r--r-- | QMTest/TestSCons.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py index 9c89249f..b24ef93c 100644 --- a/QMTest/TestSCons.py +++ b/QMTest/TestSCons.py @@ -1313,6 +1313,12 @@ print(py_ver) alt_cpp_suffix = '.C' return alt_cpp_suffix + def platform_has_symlink(self): + if not hasattr(os, 'symlink') or sys.platform == 'win32': + return False + else: + return True + class Stat: def __init__(self, name, units, expression, convert=None): |