blob: 2bfa1e7efb1aff411862ff5d0314c89632056885 [file] [edit]
import infra.basetest
class TestHostSwugenerator(infra.basetest.BRHostPkgTest):
hostpkgs = ["host-swugenerator"]
config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
"""
BR2_PACKAGE_HOST_SWUGENERATOR=y
"""
def test_run(self):
cmd = ["host/bin/swugenerator", "--help"]
infra.run_cmd_on_host(self.builddir, cmd)