gitlab-ci: Add pyelftools to the binman testsuite section
authorTom Rini <trini@konsulko.com>
Wed, 24 Jul 2019 17:14:56 +0000 (13:14 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 24 Jul 2019 20:26:15 +0000 (16:26 -0400)
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>
.gitlab-ci.yml

index 2edc3802ad019e3776f862e1681af06090e47fdb..b919eaf0c100da154894796cc15930a62007bab7 100644 (file)
@@ -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";