summaryrefslogtreecommitdiff
path: root/tests/apis
diff options
context:
space:
mode:
authorruki <[email protected]>2021-07-22 00:52:01 +0800
committerruki <[email protected]>2021-07-22 00:52:01 +0800
commit6fa4312e9b74fd49450c693502a4b72f72f3e886 (patch)
tree1c5abf4d372b9f6d7c8bae1e3e7fe6e58efb004d /tests/apis
parenta9e4d6d14b69fe28cc18c448844d3626edd22356 (diff)
improve configs
Diffstat (limited to 'tests/apis')
-rw-r--r--tests/apis/add_allowedxxx/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/apis/add_allowedxxx/xmake.lua b/tests/apis/add_allowedxxx/xmake.lua
index eae1eddc2..8db790ffa 100644
--- a/tests/apis/add_allowedxxx/xmake.lua
+++ b/tests/apis/add_allowedxxx/xmake.lua
@@ -1,9 +1,9 @@
add_rules("mode.debug", "mode.release")
add_allowedmodes("releasedbg", "debug", {default = "releasedbg"})
-add_allowedplats("windows", "linux", "macosx")
+add_allowedplats("windows", "linux", "macosx", {default = "linux"})
add_allowedarchs("arm64", "x86_64", {plat = "macosx", default = "x86_64"})
-add_allowedarchs("i386", {plat = "linux"})
+add_allowedarchs("i386", {plat = "linux", default = "i386"})
target("test")
set_kind("binary")