summaryrefslogtreecommitdiff
path: root/tests/actions/package/localpkg/test.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-06-02 22:48:05 +0800
committerruki <[email protected]>2021-06-02 22:48:05 +0800
commiteee121636be554cdeef8907bd0d2fac6a23304a6 (patch)
tree1fe24ca4d7fe8740bc222c75aa28ad03b978da63 /tests/actions/package/localpkg/test.lua
parent4223c60a70bf0220f15c18fe3ec4a5dda24b317a (diff)
add localpkg test
Diffstat (limited to 'tests/actions/package/localpkg/test.lua')
-rw-r--r--tests/actions/package/localpkg/test.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/actions/package/localpkg/test.lua b/tests/actions/package/localpkg/test.lua
new file mode 100644
index 000000000..ae685d928
--- /dev/null
+++ b/tests/actions/package/localpkg/test.lua
@@ -0,0 +1,8 @@
+function main(t)
+ os.cd("libfoo")
+ os.exec("xmake package -vD -o ../bar/build")
+ os.cd("../bar")
+ os.exec("xmake f -c -vD")
+ os.exec("xmake -vD")
+ os.exec("xmake run")
+end