summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2016-07-04 13:06:30 +0800
committerruki <[email protected]>2016-07-04 13:06:30 +0800
commitb17dfdc8377365506c97d76c7aa9b05b24818291 (patch)
tree728ed0a62c026de066aa8a5c0d69da8341258486
parent76820072dfcc7e3f5a2fbb51e012685642c3a0b7 (diff)
modify tests script
-rwxr-xr-xtests/tests19
1 files changed, 5 insertions, 14 deletions
diff --git a/tests/tests b/tests/tests
index c938d712c..6cad6dfb2 100755
--- a/tests/tests
+++ b/tests/tests
@@ -24,24 +24,15 @@ function build()
# build for macosx
if [ $host = "macosx" ]; then
-
- exec "xmake f -p iphoneos"
- exec "xmake -r"
-# exec "xmake p"
-
- exec "xmake f -p iphoneos -a arm64"
- exec "xmake -r"
-# exec "xmake p -a \"armv7, arm64\""
-
- exec "xmake f -p iphonesimulator"
- exec "xmake -r"
-# exec "xmake p"
+
+ # package all archs for iphoneos
+ exec "xmake m package -p iphoneos"
fi
# build
exec "xmake f -c"
- exec "xmake -r"
-# exec "xmake p"
+ exec "xmake "
+ exec "xmake p"
# leave project
cd -