Check that missing subdirs cause an error.

pull/15/head
Jussi Pakkanen 12 years ago
parent 619b37bff9
commit 4bacfa6a8c
  1. 2
      meson.py
  2. 3
      test cases/failing/3 missing subdir/meson.build
  3. 3
      test cases/failing/4 missing meson.build/meson.build
  4. 1
      test cases/failing/4 missing meson.build/subdir/dummy.txt

@ -138,7 +138,7 @@ if __name__ == '__main__':
else:
mlog.log(mlog.red('\nMeson encountered an error:'))
mlog.log(e)
sys.exit(1)
else:
traceback.print_exc()
sys.exit(1)

@ -0,0 +1,3 @@
project('subdir', 'c')
subdir('missing')

@ -0,0 +1,3 @@
project('missing meson.build', 'c')
subdir('subdir')

@ -0,0 +1 @@
This needs to be here because Git can't handle empty dirs.
Loading…
Cancel
Save