summaryrefslogtreecommitdiff
path: root/tests/actions/package/localpkg/test.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-06-02 22:55:06 +0800
committerruki <[email protected]>2021-06-02 22:55:06 +0800
commitd40c47c3e8c2272af5f2a60b6d90a611d66035a7 (patch)
tree54e37f08c91af31d105d02788ec3a8e93a6d9d58 /tests/actions/package/localpkg/test.lua
parent8dda67ba52ed67cc3e6897849658872c2ef4ddcc (diff)
improve test
Diffstat (limited to 'tests/actions/package/localpkg/test.lua')
-rw-r--r--tests/actions/package/localpkg/test.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/actions/package/localpkg/test.lua b/tests/actions/package/localpkg/test.lua
index ae685d928..9f581ddab 100644
--- a/tests/actions/package/localpkg/test.lua
+++ b/tests/actions/package/localpkg/test.lua
@@ -1,8 +1,10 @@
function main(t)
+ os.exec("xmake g --network=private")
os.cd("libfoo")
os.exec("xmake package -vD -o ../bar/build")
os.cd("../bar")
os.exec("xmake f -c -vD")
os.exec("xmake -vD")
os.exec("xmake run")
+ os.exec("xmake g --network=public")
end