Skip doc test when docs are not available.

pull/7407/head
Jussi Pakkanen 5 years ago
parent 026e386ec2
commit a296ee44a1
  1. 3
      run_unittests.py

@ -4789,6 +4789,9 @@ recommended as it is not supported on some platforms''')
Test that all listed meson commands are documented in Commands.md. Test that all listed meson commands are documented in Commands.md.
''' '''
# The docs directory is not in release tarballs.
if not os.path.isdir('docs'):
raise unittest.SkipTest('Doc directory does not exist.')
doc_path = 'docs/markdown_dynamic/Commands.md' doc_path = 'docs/markdown_dynamic/Commands.md'
md = None md = None

Loading…
Cancel
Save