summaryrefslogtreecommitdiff
path: root/test cases/python/7 install path/target
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-09-01 00:59:41 -0400
committerEli Schwartz <eschwartz@archlinux.org>2023-03-20 17:22:50 -0400
commita024d75e150334330954bf7a6fdbe8cb02a82491 (patch)
tree0504f3471f335d79d994d9f68028233f95f38bb5 /test cases/python/7 install path/target
parent2a0b80eb679f27402035faa93b3b6b16f5839724 (diff)
downloadmeson-a024d75e150334330954bf7a6fdbe8cb02a82491.tar.gz
backends: add a new "none" backend
It can only be used for projects that don't have any rules at all, i.e. they are purely using Meson to: - configure files - run (script?) tests - install files that exist by the end of the setup stage This can be useful e.g. for Meson itself, a pure python project.
Diffstat (limited to 'test cases/python/7 install path/target')
-rw-r--r--test cases/python/7 install path/target/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/test cases/python/7 install path/target/meson.build b/test cases/python/7 install path/target/meson.build
new file mode 100644
index 000000000..178ae0224
--- /dev/null
+++ b/test cases/python/7 install path/target/meson.build
@@ -0,0 +1,3 @@
+testcase expect_error('Install-only backend cannot generate target rules, try using `--backend=ninja`.')
+ import('fs').copyfile('../test.py')
+endtestcase