aboutsummaryrefslogtreecommitdiff
path: root/tests/ECMConfiguredInstallTest/expected
diff options
context:
space:
mode:
authorDavid Edmundson <kde@davidedmundson.co.uk>2020-06-08 15:29:40 +0100
committerDavid Edmundson <davidedmundson@kde.org>2020-07-10 12:12:58 +0000
commit0ae520199d0e0523f4f0aa847b7567d72ae9553d (patch)
tree4dc13a76d6dfb691b629962b21abbc2fa5ddfce6 /tests/ECMConfiguredInstallTest/expected
parent4ad3d1615f90adc66f053183f82eec572b35d011 (diff)
downloadextra-cmake-modules-0ae520199d0e0523f4f0aa847b7567d72ae9553d.tar.gz
extra-cmake-modules-0ae520199d0e0523f4f0aa847b7567d72ae9553d.tar.bz2
Introduce function ecm_install_configured_file
Summary: This, as the name suggests, configures a file and installs it. It's not very complicated but it's a repeated pattern in plasma that gets quite messy dealing with temporary files. Test Plan: Used in a project Reviewers: #build_system Subscribers: apol, kossebau, pino, kde-frameworks-devel, kde-buildsystem Tags: #frameworks, #build_system Differential Revision: https://phabricator.kde.org/D28355
Diffstat (limited to 'tests/ECMConfiguredInstallTest/expected')
-rw-r--r--tests/ECMConfiguredInstallTest/expected/configured.txt3
-rw-r--r--tests/ECMConfiguredInstallTest/expected/configured_atOnly.txt3
-rw-r--r--tests/ECMConfiguredInstallTest/expected/multi1.txt2
-rw-r--r--tests/ECMConfiguredInstallTest/expected/multi2.txt2
4 files changed, 10 insertions, 0 deletions
diff --git a/tests/ECMConfiguredInstallTest/expected/configured.txt b/tests/ECMConfiguredInstallTest/expected/configured.txt
new file mode 100644
index 00000000..119db8fc
--- /dev/null
+++ b/tests/ECMConfiguredInstallTest/expected/configured.txt
@@ -0,0 +1,3 @@
+[General]
+Foo=myFoo
+Bar=myBar
diff --git a/tests/ECMConfiguredInstallTest/expected/configured_atOnly.txt b/tests/ECMConfiguredInstallTest/expected/configured_atOnly.txt
new file mode 100644
index 00000000..68a37bf1
--- /dev/null
+++ b/tests/ECMConfiguredInstallTest/expected/configured_atOnly.txt
@@ -0,0 +1,3 @@
+[General]
+Foo=myFoo
+Bar=${BAR}
diff --git a/tests/ECMConfiguredInstallTest/expected/multi1.txt b/tests/ECMConfiguredInstallTest/expected/multi1.txt
new file mode 100644
index 00000000..a8f6a104
--- /dev/null
+++ b/tests/ECMConfiguredInstallTest/expected/multi1.txt
@@ -0,0 +1,2 @@
+TestMulti1
+Foo=myFoo
diff --git a/tests/ECMConfiguredInstallTest/expected/multi2.txt b/tests/ECMConfiguredInstallTest/expected/multi2.txt
new file mode 100644
index 00000000..b396657d
--- /dev/null
+++ b/tests/ECMConfiguredInstallTest/expected/multi2.txt
@@ -0,0 +1,2 @@
+TestMulti2
+Foo=myFoo