summaryrefslogtreecommitdiff
path: root/tests/plugins/macro/test.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-09-16 23:55:20 +0800
committerruki <[email protected]>2024-09-16 23:55:20 +0800
commit1a44c4f4712650117c5303e1fef87d812983f30f (patch)
tree94c7c5d04f0fcb3964350678a69d37018f8e1614 /tests/plugins/macro/test.lua
parent647b1efa1d3646ed0e753e3b41d0fa3486313e63 (diff)
improve tests
Diffstat (limited to 'tests/plugins/macro/test.lua')
-rw-r--r--tests/plugins/macro/test.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/plugins/macro/test.lua b/tests/plugins/macro/test.lua
new file mode 100644
index 000000000..54955a21d
--- /dev/null
+++ b/tests/plugins/macro/test.lua
@@ -0,0 +1,11 @@
+function test_macro(t)
+ -- we force to enable ccache to test it on ci
+ os.exec("xmake f --mode=debug --policies=build.ccache:y -D -y")
+ os.exec("xmake m -b")
+ os.exec("xmake -r -a -D")
+ os.exec("xmake m -e buildtest")
+ os.exec("xmake m -l")
+ os.exec("xmake m buildtest")
+ os.exec("xmake m -d buildtest")
+end
+