tests/hghave.py
branchstable
changeset 19092 8c560ad1cdc4
parent 18285 9589227657bc
child 19378 9de689d20230
--- a/tests/hghave.py	Fri Apr 26 01:12:03 2013 +0900
+++ b/tests/hghave.py	Tue Apr 30 14:56:33 2013 +0100
@@ -274,6 +274,9 @@
 def has_msys():
     return os.getenv('MSYSTEM')
 
+def has_aix():
+    return sys.platform.startswith("aix")
+
 checks = {
     "true": (lambda: True, "yak shaving"),
     "false": (lambda: False, "nail clipper"),
@@ -314,4 +317,5 @@
     "unix-permissions": (has_unix_permissions, "unix-style permissions"),
     "windows": (has_windows, "Windows"),
     "msys": (has_msys, "Windows with MSYS"),
+    "aix": (has_aix, "AIX"),
 }