summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/projects/policy/compile_commands/src/disabled.c3
-rw-r--r--tests/projects/policy/compile_commands/xmake.lua2
2 files changed, 1 insertions, 4 deletions
diff --git a/tests/projects/policy/compile_commands/src/disabled.c b/tests/projects/policy/compile_commands/src/disabled.c
deleted file mode 100644
index 9b130982d..000000000
--- a/tests/projects/policy/compile_commands/src/disabled.c
+++ /dev/null
@@ -1,3 +0,0 @@
-int main(int argc, char** argv) {
- return 0;
-}
diff --git a/tests/projects/policy/compile_commands/xmake.lua b/tests/projects/policy/compile_commands/xmake.lua
index 03f8a788d..1ccf48af6 100644
--- a/tests/projects/policy/compile_commands/xmake.lua
+++ b/tests/projects/policy/compile_commands/xmake.lua
@@ -7,4 +7,4 @@ target("enabled")
target("disabled")
set_kind("binary")
add_files("src/main.c")
- set_policy("build.compile_commands", false)
+ set_policy("generator.compile_commands", false)