diff mbox series

[U-Boot] gitlab-ci: Add pyelftools to the binman testsuite section

Message ID 1563988496-16904-1-git-send-email-trini@konsulko.com
State Accepted
Commit 848121746768433c0d0a024ca1301f262b22e540
Delegated to: Tom Rini
Headers show
Series [U-Boot] gitlab-ci: Add pyelftools to the binman testsuite section | expand

Commit Message

Tom Rini July 24, 2019, 5:14 p.m. UTC
We need pyelftools here to run rather than skip some tests.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 .gitlab-ci.yml | 3 +++
 1 file changed, 3 insertions(+)

Comments

Simon Glass July 24, 2019, 7:50 p.m. UTC | #1
On Wed, 24 Jul 2019 at 10:15, Tom Rini <trini@konsulko.com> wrote:
>
> We need pyelftools here to run rather than skip some tests.
>
> Signed-off-by: Tom Rini <trini@konsulko.com>
> ---
>  .gitlab-ci.yml | 3 +++
>  1 file changed, 3 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>
Tom Rini July 25, 2019, 7 p.m. UTC | #2
On Wed, Jul 24, 2019 at 01:14:56PM -0400, Tom Rini wrote:

> We need pyelftools here to run rather than skip some tests.
> 
> Signed-off-by: Tom Rini <trini@konsulko.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e166d8f74a68..bd63708b987d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -172,6 +172,9 @@  Run binman and dtoc testsuite:
   tags: [ 'all' ]
   stage: testsuites
   script:
+    - virtualenv /tmp/venv
+    - . /tmp/venv/bin/activate
+    - pip install pyelftools
     - export UBOOT_TRAVIS_BUILD_DIR=`cd .. && pwd`/.bm-work/sandbox_spl;
       ./tools/buildman/buildman -P sandbox_spl && 
      export PYTHONPATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt";