- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
25 lines
879 B
Python
25 lines
879 B
Python
#
|
|
# Copyright OpenEmbedded Contributors
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
import shutil
|
|
import os.path
|
|
from oeqa.sdk.case import OESDKTestCase
|
|
|
|
class SanityTests(OESDKTestCase):
|
|
def test_tools(self):
|
|
"""
|
|
Test that wget and tar come from the buildtools, not the host. This
|
|
verifies that the buildtools have installed correctly. We can't check
|
|
for gcc as that is only installed by buildtools-extended.
|
|
"""
|
|
for command in ("tar", "wget"):
|
|
# Canonicalise the SDK root
|
|
sdk_base = os.path.realpath(self.tc.sdk_dir)
|
|
# Canonicalise the location of this command
|
|
tool_path = os.path.realpath(self._run("command -v %s" % command).strip())
|
|
# Assert that the tool was found inside the SDK root
|
|
self.assertEqual(os.path.commonprefix((sdk_base, tool_path)), sdk_base)
|