summary refs log tree commit diff stats
path: root/testament
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-02-22 02:01:15 -0800
committerGitHub <noreply@github.com>2021-02-22 11:01:15 +0100
commit55a33e16640816eb101670a07d66f43dc88cc920 (patch)
tree3d4005f0ce32e3884c91b2a22ab1125bdca1e961 /testament
parentfab1618eb44fb1270acb14aeb9769b277b7d6ee3 (diff)
downloadNim-55a33e16640816eb101670a07d66f43dc88cc920.tar.gz
testament: support disabled:osx as alias to disabled:macosx (#17124)
Diffstat (limited to 'testament')
-rw-r--r--testament/specs.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/testament/specs.nim b/testament/specs.nim
index 5c57b9a94..5053e7256 100644
--- a/testament/specs.nim
+++ b/testament/specs.nim
@@ -330,8 +330,8 @@ proc parseSpec*(filename: string): TSpec =
           when defined(linux): result.err = reDisabled
         of "bsd":
           when defined(bsd): result.err = reDisabled
-        of "macosx":
-          when defined(macosx): result.err = reDisabled
+        of "osx", "macosx": # xxx remove `macosx` alias?
+          when defined(osx): result.err = reDisabled
         of "unix":
           when defined(unix): result.err = reDisabled
         of "posix":