1# 2# Copyright OpenEmbedded Contributors 3# 4# SPDX-License-Identifier: MIT 5# 6 7import tempfile 8from oeqa.sdk.case import OESDKTestCase 9from oeqa.utils.subprocesstweak import errors_have_output 10errors_have_output() 11 12class BuildTests(OESDKTestCase): 13 """ 14 Verify that our docs can build using our docs tools tarball. 15 """ 16 def test_docs_build(self): 17 with tempfile.TemporaryDirectory(prefix='docs-tarball-build-', dir=self.tc.sdk_dir) as testdir: 18 self._run('git clone git://git.yoctoproject.org/yocto-docs %s' % testdir) 19 self._run('cd %s/documentation && make html' % testdir) 20