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

Tom Rini trini at konsulko.com
Wed Jul 24 17:14:56 UTC 2019


We need pyelftools here to run rather than skip some tests.

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

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";
-- 
2.7.4



More information about the U-Boot mailing list