summaryrefslogtreecommitdiff
path: root/tests/plugins/create/test.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-04-25 00:27:37 +0800
committerruki <[email protected]>2018-04-24 20:45:44 +0800
commit578eb83ef84d05d48714535709325af9f3c87a42 (patch)
tree79769cbe56daafedd2ee2f92647a22cd24ccbe2a /tests/plugins/create/test.lua
parent6979a6d5a135c109a448a2551ca038a9151c94ca (diff)
fix tests
Diffstat (limited to 'tests/plugins/create/test.lua')
-rw-r--r--tests/plugins/create/test.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/plugins/create/test.lua b/tests/plugins/create/test.lua
index b7e68db81..b3ddd1f6e 100644
--- a/tests/plugins/create/test.lua
+++ b/tests/plugins/create/test.lua
@@ -3,6 +3,8 @@ function main ()
os.exec("xmake -P $(tmpdir)/test")
os.exec("xmake create -l c++ -P $(tmpdir)/test_cpp")
os.exec("xmake -P $(tmpdir)/test_cpp")
- os.exec("xmake create -l c++ -t 3 -P $(tmpdir)/test_cpp2")
+ os.exec("xmake create -l c++ -t static -P $(tmpdir)/test_cpp2")
+ os.exec("xmake -P $(tmpdir)/test_cpp2")
+ os.exec("xmake create -l c++ -t shared -P $(tmpdir)/test_cpp2")
os.exec("xmake -P $(tmpdir)/test_cpp2")
end