diff options
| author | ruki <[email protected]> | 2024-03-05 22:50:01 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-03-05 22:50:01 +0800 |
| commit | 53c7d7595a414d2cfa39b01e14dca1d7927635b8 (patch) | |
| tree | 649ef682964e33e12f44c571ff3a5ed04791bb31 /tests/modules/private/select_script | |
| parent | a5e284bd5972a3f85250fa8cd894c4669d086a11 (diff) | |
improve to select script
Diffstat (limited to 'tests/modules/private/select_script')
| -rw-r--r-- | tests/modules/private/select_script/test.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/modules/private/select_script/test.lua b/tests/modules/private/select_script/test.lua index e7efcaa84..ab37d732e 100644 --- a/tests/modules/private/select_script/test.lua +++ b/tests/modules/private/select_script/test.lua @@ -34,7 +34,7 @@ function test_plat_arch(t) t:require(_match_pattern("macosx|!i386", {plat = "macosx", arch = "x86_64"})) t:require(_match_pattern("!macosx|!i386", {plat = "linux", arch = "x86_64"})) t:require(_match_pattern("windows|!x86", {plat = "windows", arch = "x64"})) --- t:require_not(_match_pattern("windows|!x86", {plat = "android", arch = "arm64-v8a"})) + t:require_not(_match_pattern("windows|!x86", {plat = "android", arch = "arm64-v8a"})) t:require(_match_pattern("macosx|native", {plat = "macosx", arch = "x86_64", subarch = "x86_64"})) t:require(_match_pattern("macosx|!native", {plat = "macosx", arch = "arm64", subarch = "x86_64"})) t:require_not(_match_pattern("macosx|!native", {plat = "macosx", arch = "x86_64", subarch = "x86_64"})) @@ -68,7 +68,7 @@ function test_subhost_subarch(t) t:require(_match_pattern("@macosx|!i386", {subhost = "macosx", subarch = "x86_64"})) t:require(_match_pattern("@!macosx|!i386", {subhost = "linux", subarch = "x86_64"})) t:require(_match_pattern("@windows|!x86", {subhost = "windows", subarch = "x64"})) --- t:require_not(_match_pattern("@windows|!x86", {subhost = "android", subarch = "arm64-v8a"})) + t:require_not(_match_pattern("@windows|!x86", {subhost = "android", subarch = "arm64-v8a"})) t:require(_match_pattern("@macosx|native", {subhost = "macosx", subarch = "x86_64"})) t:require(_match_pattern("@macosx|native", {subhost = "macosx", subarch = "arm64"})) t:require_not(_match_pattern("@macosx|!native", {subhost = "macosx", subarch = "x86_64"})) @@ -107,5 +107,5 @@ function test_plat_arch_subhost_subarch(t) t:require(_match_pattern("!iphon*|x86_64@macosx|x86_64", {plat = "linux", subhost = "macosx", arch = "x86_64", subarch = "x86_64"})) t:require(_match_pattern("iphon*|arm64@macosx|x86_64", {plat = "iphoneos", subhost = "macosx", arch = "arm64", subarch = "x86_64"})) t:require_not(_match_pattern("iphon*|arm64@macosx|x86_64", {plat = "iphoneos", subhost = "linux", arch = "arm64", subarch = "x86_64"})) --- t:require(_match_pattern("android|native@macosx|x86_64", {plat = "android", subhost = "macosx", arch = "x86_64", subarch = "x86_64"})) + t:require(_match_pattern("android|native@macosx|x86_64", {plat = "android", subhost = "macosx", arch = "x86_64", subarch = "x86_64"})) end |
