summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarius Makovsky <traveltissues@protonmail.com>2019-10-29 15:42:13 +0000
committerDarius Makovsky <traveltissues@protonmail.com>2019-10-29 15:58:45 +0000
commit53df6949da5124556c54038b3deace4971c06cfb (patch)
treecfc292a771c3e7e00896291ef32d844d04eb921e
parente6b1b2cf13254c0a17193e92f05daed5e4c38aad (diff)
downloadbuildstream-53df6949da5124556c54038b3deace4971c06cfb.tar.gz
DEBUG
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--src/buildstream/storage/_casbaseddirectory.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 21de1f2de..b7c19642d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,7 +16,7 @@ stages:
variables:
PYTEST_ADDOPTS: "--color=yes"
INTEGRATION_CACHE: "${CI_PROJECT_DIR}/cache/integration-cache"
- PYTEST_ARGS: "--color=yes --integration -n 2"
+ PYTEST_ARGS: "--color=yes --integration -n 2 tests/cachekey/cachekey.py::test_cache_key"
TEST_COMMAND: "tox -- ${PYTEST_ARGS}"
EXTERNAL_TESTS_COMMAND: "tox -e py{35,36,37}-external -- ${PYTEST_ARGS}"
COVERAGE_PREFIX: "${CI_JOB_NAME}."
diff --git a/src/buildstream/storage/_casbaseddirectory.py b/src/buildstream/storage/_casbaseddirectory.py
index 3786f25b6..e4b2cd0b7 100644
--- a/src/buildstream/storage/_casbaseddirectory.py
+++ b/src/buildstream/storage/_casbaseddirectory.py
@@ -344,6 +344,8 @@ class CasBasedDirectory(Directory):
# content into this CasBasedDirectory using CAS-to-CAS import
# to write the report, handle possible conflicts (if the target
# directory is not empty) and apply the optional filter.
+ import sys
+ print('IMPORT', file=sys.stderr)
digest = self.cas_cache.import_directory(external_pathspec)
external_pathspec = CasBasedDirectory(self.cas_cache, digest=digest)