Skip to contentSkip to conversation

gitlab-ci: Add pyelftools to the binman testsuite section

PATCH New Tom Rini 2 participants 3 messages Jul 24, 2019 – Jul 25, 2019

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 gitlab-ci: Add pyelftools to the binman testsuite section

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

---
 .gitlab-ci.yml | 3 +++
 1 file changed, 3 insertions(+)
.gitlab-ci.yml +3 -0
index e166d8f74a68..bd63708b987d 100644
@@ -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";
Signature · 1 line
2.7.4
author
#2 lore raw

PATCH 1/1 gitlab-ci: Add pyelftools to the binman testsuite section

In reply to Tom Rini
Quoted 4 lines · Tom Rini

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

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190725/08d23012/attachment.sig>