summaryrefslogtreecommitdiff
path: root/tests/projects
diff options
context:
space:
mode:
authorruki <[email protected]>2024-11-29 00:00:39 +0800
committerruki <[email protected]>2024-11-29 00:00:39 +0800
commit36953ccf16f9765746471b47aca5b2611270b274 (patch)
tree9e56c50b8d5cd54e4e208b04971baa6f16dc8f02 /tests/projects
parent5b6ccc1740802dda446cd4d95a748047bd66f80a (diff)
improve tests
Diffstat (limited to 'tests/projects')
-rw-r--r--tests/projects/package/compatibility/deps_with_version/xmake.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/projects/package/compatibility/deps_with_version/xmake.lua b/tests/projects/package/compatibility/deps_with_version/xmake.lua
index f0cc809b9..895b57d3b 100644
--- a/tests/projects/package/compatibility/deps_with_version/xmake.lua
+++ b/tests/projects/package/compatibility/deps_with_version/xmake.lua
@@ -1,13 +1,16 @@
package("foo")
- add_deps("zlib >=v1.2.13")
+ add_deps("zlib >=1.2.13")
+ on_install(function () end)
package_end()
package("bar")
add_deps("zlib")
+ on_install(function () end)
package_end()
package("test")
add_deps("foo", "bar")
+ on_install(function () end)
package_end()
add_requires("test")