aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun_unittests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 2f9fb7f..5fd790c 100755
--- a/run_unittests.py
+++ b/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.
'''
+ # 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'
md = None