- 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)
29 lines
596 B
Python
29 lines
596 B
Python
#
|
|
# BitBake Test for lib/bb/siggen.py
|
|
#
|
|
# Copyright (C) 2020 Jean-François Dagenais
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
|
|
import unittest
|
|
import logging
|
|
import bb
|
|
import time
|
|
|
|
logger = logging.getLogger('BitBake.TestSiggen')
|
|
|
|
import bb.siggen
|
|
|
|
class SiggenTest(unittest.TestCase):
|
|
|
|
def test_build_pnid(self):
|
|
tests = {
|
|
('', 'helloworld', 'do_sometask') : 'helloworld:do_sometask',
|
|
('XX', 'helloworld', 'do_sometask') : 'mc:XX:helloworld:do_sometask',
|
|
}
|
|
|
|
for t in tests:
|
|
self.assertEqual(bb.siggen.build_pnid(*t), tests[t])
|
|
|