diff options
Diffstat (limited to 'tests/plugins/create/test.lua')
| -rw-r--r-- | tests/plugins/create/test.lua | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/tests/plugins/create/test.lua b/tests/plugins/create/test.lua index 83676b2ef..397f846f4 100644 --- a/tests/plugins/create/test.lua +++ b/tests/plugins/create/test.lua @@ -1,10 +1,11 @@ function main () - os.exec("xmake create -P $(tmpdir)/test") - 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 static -P $(tmpdir)/test_cpp2") - os.exec("xmake -P $(tmpdir)/test_cpp2") - os.exec("xmake create -l c++ -t shared -P $(tmpdir)/test_cpp3") - os.exec("xmake -P $(tmpdir)/test_cpp3") + os.tryrm("$(tmpdir)/test_create") + os.exec("xmake create -P $(tmpdir)/test_create/test") + os.exec("xmake -P $(tmpdir)/test_create/test") + os.exec("xmake create -l c++ -P $(tmpdir)/test_create/test_cpp") + os.exec("xmake -P $(tmpdir)/test_create/test_cpp") + os.exec("xmake create -l c++ -t static -P $(tmpdir)/test_create/test_cpp2") + os.exec("xmake -P $(tmpdir)/test_create/test_cpp2") + os.exec("xmake create -l c++ -t shared -P $(tmpdir)/test_create/test_cpp3") + os.exec("xmake -P $(tmpdir)/test_create/test_cpp3") end |
