summaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-08-10 02:52:45 +0530
committerJussi Pakkanen <jpakkane@gmail.com>2017-08-13 21:13:28 +0300
commit7aed29e2c33d60fee5f6bac89bd17aaf6b770b04 (patch)
tree91c4929e8b72d54716c0b9aad2e3aeefb9720d79 /test cases
parent691ad706ad81341ad4b84730d77de39a4fb2a153 (diff)
downloadmeson-7aed29e2c33d60fee5f6bac89bd17aaf6b770b04.tar.gz
gnome: Fix parsing of resource custom target files
gnome.compile_resources() was not parsing custom target sources properly. It was using the custom target name as the output of the custom target instead of looking at the list of outputs. Also modify the GNOME framework test to expose this.
Diffstat (limited to 'test cases')
-rw-r--r--test cases/frameworks/7 gnome/resources-data/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/frameworks/7 gnome/resources-data/meson.build b/test cases/frameworks/7 gnome/resources-data/meson.build
index 9458c2d90..31a577b2e 100644
--- a/test cases/frameworks/7 gnome/resources-data/meson.build
+++ b/test cases/frameworks/7 gnome/resources-data/meson.build
@@ -10,7 +10,7 @@ print("This is a generated resource.")
# Generate file res3.txt from file res3.txt.in. This is then included
# in a GResource file, driven by resources/meson.build.
-res3_txt = custom_target('res3.txt',
+res3_txt = custom_target('res3',
input: 'res3.txt.in',
output: 'res3.txt',
command: [python3, '-c', fake_generator_script, '@INPUT@'],