Add a test that contains only generated Vala files

Demonstrates that the Vala detection is broken when all the files are
generated.
pull/938/head
Nirbheek Chauhan 8 years ago
parent e908910187
commit d59f5f8620
  1. 1
      test cases/vala/8 generated sources/installed_files.txt
  2. 1
      test cases/vala/8 generated sources/meson.build
  3. 3
      test cases/vala/8 generated sources/onlygen/maingen.in
  4. 7
      test cases/vala/8 generated sources/onlygen/meson.build

@ -1 +1,2 @@
usr/bin/generatedtest
usr/bin/onlygentest

@ -5,3 +5,4 @@ cd.set('x', 'y')
subdir('src')
subdir('tools')
subdir('onlygen')

@ -0,0 +1,7 @@
onlygen = generator(copy,
output : '@BASENAME@.vala',
arguments : ['@INPUT@', '@OUTPUT@'])
executable('onlygentest', onlygen.process('maingen.in'),
install : true,
dependencies: [dependency('glib-2.0'), dependency('gobject-2.0')])
Loading…
Cancel
Save