hc
2024-03-22 a0752693d998599af469473b8dc239ef973a012f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import os
 
import infra.basetest
 
 
class TestUbootOpensslPkgConfig(infra.basetest.BRTest):
    config = infra.basetest.MINIMAL_CONFIG + \
        """
        BR2_x86_64=y
        BR2_x86_atom=y
        BR2_PACKAGE_OPENSSL=y
        BR2_TARGET_UBOOT=y
        BR2_TARGET_UBOOT_BOARD_DEFCONFIG="efi-x86_payload64"
        BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
        """
 
    def test_run(self):
        img = os.path.join(self.builddir, "images", "u-boot.bin")
        self.assertTrue(os.path.exists(img))