From: Tom Rini Date: Fri, 18 Oct 2019 16:53:30 -0400 Subject: [U-Boot] [PATCH 02/10] gitlab-ci: Prepend to PATH rather than overwrite it In-Reply-To: <20191018205338.14879-1-trini@konsulko.com> References: <20191018205338.14879-1-trini@konsulko.com> Message-ID: <20191018205338.14879-3-trini@konsulko.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de We need to make sure that we prepend changes to PATH, so that any binaries we need to provide ourselves are used not overwrite PATH for this. Overwriting PATH like this breaks the python virtualenv PATH changes. Signed-off-by: Tom Rini --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b91b5f67af98..ab294997e463 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,7 +48,7 @@ stages: # "-k something" even when $TEST_PY_TEST_SPEC doesnt need a custom # value. - export UBOOT_TRAVIS_BUILD_DIR=/tmp/.bm-work/${TEST_PY_BD}; - export PATH=/opt/qemu/bin:/tmp/uboot-test-hooks/bin:/usr/bin:/bin; + export PATH=/opt/qemu/bin:/tmp/uboot-test-hooks/bin:${PATH}; export PYTHONPATH=/tmp/uboot-test-hooks/py/travis-ci; if [[ "${TEST_PY_BD}" != "" ]]; then ./test/py/test.py --bd ${TEST_PY_BD} ${TEST_PY_ID} -- 2.17.1