summaryrefslogtreecommitdiff
path: root/tests/actions/test/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-10-31 00:48:16 +0800
committerruki <[email protected]>2023-10-31 00:48:16 +0800
commite4d57fb4ad458764a1a1b9488f70fe717036b3f8 (patch)
tree6f0eae366efbea3a266453d3e9a384ff35149978 /tests/actions/test/xmake.lua
parent55fdd62b7317a15ea59e31ee0c2d48ee27bf683a (diff)
improve to test compile
Diffstat (limited to 'tests/actions/test/xmake.lua')
-rw-r--r--tests/actions/test/xmake.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/actions/test/xmake.lua b/tests/actions/test/xmake.lua
index 641b4c764..328e817dd 100644
--- a/tests/actions/test/xmake.lua
+++ b/tests/actions/test/xmake.lua
@@ -17,4 +17,10 @@ target("test_10")
set_kind("binary")
set_default(false)
add_files("src/compile.cpp")
- add_tests("compile", {build_should_fail = true})
+ add_tests("compile_fail", {build_should_fail = true})
+
+target("test_11")
+ set_kind("binary")
+ set_default(false)
+ add_files("src/compile.cpp")
+ add_tests("compile_pass", {build_should_pass = true})