summaryrefslogtreecommitdiff
path: root/tests/projects/c++
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/c++')
-rw-r--r--tests/projects/c++/modules/xmake_tests1/xmake.lua3
-rw-r--r--tests/projects/c++/modules/xmake_tests2/xmake.lua2
2 files changed, 1 insertions, 4 deletions
diff --git a/tests/projects/c++/modules/xmake_tests1/xmake.lua b/tests/projects/c++/modules/xmake_tests1/xmake.lua
index c0f5530fe..1e8d7f59d 100644
--- a/tests/projects/c++/modules/xmake_tests1/xmake.lua
+++ b/tests/projects/c++/modules/xmake_tests1/xmake.lua
@@ -10,7 +10,6 @@ target('module_dep')
target('module_target')
set_kind('moduleonly')
add_files('src/*.cppm')
-
-add_deps('module_dep')
+ add_deps('module_dep')
add_tests('test', { kind = 'binary', files = 'src/main.cpp', build_should_pass = true })
add_tests('test2', { kind = 'binary', files = 'src/main.cpp', build_should_pass = true })
diff --git a/tests/projects/c++/modules/xmake_tests2/xmake.lua b/tests/projects/c++/modules/xmake_tests2/xmake.lua
index e5326b36d..051507124 100644
--- a/tests/projects/c++/modules/xmake_tests2/xmake.lua
+++ b/tests/projects/c++/modules/xmake_tests2/xmake.lua
@@ -9,13 +9,11 @@ target("module_dep")
target("module_target1")
set_kind("moduleonly")
add_files("src/*.cppm")
-
add_deps("module_dep")
add_tests("tests", {kind = "binary", files = "src/main.cpp", build_should_pass = true})
target("module_target2")
set_kind("moduleonly")
add_files("src/*.cppm")
-
add_deps("module_dep")
add_tests("tests", {kind = "binary", files = "src/main.cpp", build_should_pass = true})