[Buildroot] [PATCH 5/5] support/testing: add toolchain tests
Ricardo Martincoski
ricardo.martincoski at gmail.com
Thu Mar 2 01:54:24 UTC 2017
Thomas,
On Tue, Feb 07, 2017 at 09:36 AM, Thomas Petazzoni wrote:
[snip]
> +++ b/support/testing/tests/toolchain/test_external.py
> @@ -0,0 +1,77 @@
> +import os
> +
> +import infra
> +
> +class TestExternalToolchainSourceryArmv4(infra.basetest.BRTest):
> + config = \
> +"""
> +BR2_arm=y
> +BR2_arm920t=y
> +BR2_TOOLCHAIN_EXTERNAL=y
> +BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM=y
> +BR2_TARGET_ROOTFS_CPIO=y
> +# BR2_TARGET_ROOTFS_TAR is not set
> +"""
[snip]
> + self.emulator.login("root")
Shouldn't it be like this?
self.emulator.login()
> +
> +class TestExternalToolchainSourceryArmv5(infra.basetest.BRTest):
[snip]
> + self.emulator.login("root")
Same here.
> +
> +class TestExternalToolchainSourceryArmv7(infra.basetest.BRTest):
[snip]
> + self.emulator.login("root")
Same here.
Regards,
Ricardo
More information about the buildroot
mailing list