blob: 5b0eca046fa1ac674271aa0fc624e2336ecbe245 [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001#
2# SPDX-License-Identifier: MIT
3#
4
5import tempfile
6from oeqa.sdk.case import OESDKTestCase
7from oeqa.utils.subprocesstweak import errors_have_output
8errors_have_output()
9
10class BuildTests(OESDKTestCase):
11 """
12 Verify that our docs can build using our docs tools tarball.
13 """
14 def test_docs_build(self):
15 with tempfile.TemporaryDirectory(prefix='docs-tarball-build-', dir=self.tc.sdk_dir) as testdir:
16 self._run('git clone git://git.yoctoproject.org/yocto-docs %s' % testdir)
17 self._run('cd %s/documentation && make html' % testdir)