Message ID | 1549298395-7248-1-git-send-email-matthew.weber@rockwellcollins.com |
---|---|
State | Rejected |
Headers | show |
Series | support/testing: use minimal build for test_git | expand |
Hello, Thank you for looking into this. + Arnout On Mon, Feb 04, 2019 at 02:39 PM, Matt Weber wrote: > Original configuration results in a full Buildroot internal toolchain > build. This config update drops the build time to ~60sec from ~700sec. It should not be needed if we split runtime test from BRTest http://patchwork.ozlabs.org/patch/912353/ and make test_git inherit from the new BRTest. Then we build almost nothing. Actually host-lzip is built in the GitRefs test case because the docker image does not have it or it has an unsuitable version, I did not checked what is the reason, the former or the latter. But I am not against using this patch as a quick solution. Regards, Ricardo
diff --git a/support/testing/tests/download/test_git.py b/support/testing/tests/download/test_git.py index 156784d..2d48ccf 100644 --- a/support/testing/tests/download/test_git.py +++ b/support/testing/tests/download/test_git.py @@ -6,7 +6,8 @@ import infra class GitTestBase(infra.basetest.BRTest): - config = \ + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + infra.basetest.MINIMAL_CONFIG + \ """ BR2_BACKUP_SITE="" """
Original configuration results in a full Buildroot internal toolchain build. This config update drops the build time to ~60sec from ~700sec. Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> --- support/testing/tests/download/test_git.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)