summaryrefslogtreecommitdiff
path: root/tests/actions/install/test.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-07-17 22:52:47 +0800
committerruki <[email protected]>2024-07-17 22:52:47 +0800
commit5f5164528ab628cbd688782b9057e898f9a27cfe (patch)
tree3b3f45c37a2c15e702e7a1569f71366f05fd6eb3 /tests/actions/install/test.lua
parent68751ccc25332dff6c35ab5e92243cf8f2bfbc26 (diff)
update test.lua for install
Diffstat (limited to 'tests/actions/install/test.lua')
-rw-r--r--tests/actions/install/test.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/actions/install/test.lua b/tests/actions/install/test.lua
index 78173bac7..4edc90275 100644
--- a/tests/actions/install/test.lua
+++ b/tests/actions/install/test.lua
@@ -3,6 +3,8 @@ function main(t)
os.vrun("xmake -y")
os.vrun("xmake run app")
os.vrun("xmake install -o build/usr")
- os.vrun("./build/usr/app/bin/app" .. (is_host("windows") and ".exe" or ""))
+ if not is_host("linux") then -- TODO, change rpath has been not supported yet on linux.
+ os.vrun("./build/usr/app/bin/app" .. (is_host("windows") and ".exe" or ""))
+ end
end
end