diff options
| author | ruki <[email protected]> | 2020-12-31 22:37:37 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-12-31 22:37:37 +0800 |
| commit | 859f7e001ebc3a8cac1f1573d610c1cbf7e8ab6c (patch) | |
| tree | 4940ce3d7c8f9a8351efbd030770b868746dc916 | |
| parent | 456ff27e716774b22888f9ebcf5e9effe55e1f34 (diff) | |
improve package tests
| -rw-r--r-- | tests/projects/package/basic/test.lua | 3 | ||||
| -rw-r--r-- | tests/projects/package/multiconfig/test.lua | 3 | ||||
| -rw-r--r-- | tests/test_utils/test_build.lua | 4 |
3 files changed, 4 insertions, 6 deletions
diff --git a/tests/projects/package/basic/test.lua b/tests/projects/package/basic/test.lua index a4b905689..b76241be2 100644 --- a/tests/projects/package/basic/test.lua +++ b/tests/projects/package/basic/test.lua @@ -1,7 +1,6 @@ -- main entry function main(t) - -- TODO -- build project --- t:build() + t:build() end diff --git a/tests/projects/package/multiconfig/test.lua b/tests/projects/package/multiconfig/test.lua index a4b905689..b76241be2 100644 --- a/tests/projects/package/multiconfig/test.lua +++ b/tests/projects/package/multiconfig/test.lua @@ -1,7 +1,6 @@ -- main entry function main(t) - -- TODO -- build project --- t:build() + t:build() end diff --git a/tests/test_utils/test_build.lua b/tests/test_utils/test_build.lua index 44026200b..2a42e67d8 100644 --- a/tests/test_utils/test_build.lua +++ b/tests/test_utils/test_build.lua @@ -9,7 +9,7 @@ function test_build:build(argv) os.exec("xmake g -c") -- generic? - os.exec("xmake f -c") + os.exec("xmake f -c -D -y") os.exec("xmake") os.exec("xmake p -D") if not is_host("windows") then @@ -17,7 +17,7 @@ function test_build:build(argv) os.exec("xmake uninstall --installdir=$(tmpdir) -D") end os.exec("xmake c -D") - os.exec("xmake f --mode=debug -D") + os.exec("xmake f --mode=debug -D -y") os.exec("xmake m -b") os.exec("xmake -r -a -D") os.exec("xmake m -e buildtest") |
