You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by gi...@apache.org on 2020/12/29 13:08:11 UTC

[buildstream] 03/04: Well, maybe if we just run the cmake-test...

This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch test_coverage_segfault
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 1f868ba4b2a14652a25ffed9eb4a9d39afd87720
Author: Tristan Maat <tr...@codethink.co.uk>
AuthorDate: Wed Nov 15 16:00:13 2017 +0000

    Well, maybe if we just run the cmake-test...
---
 .gitlab-ci.yml | 110 ++++++++++++++++++++++++++++-----------------------------
 1 file changed, 55 insertions(+), 55 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 66674e8..58faf15 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,17 +22,17 @@ before_script:
 
 # Run premerge commits
 #
-pytest:
-  stage: test
-  script:
-  # We run as a simple user to test for permission issues
-  - su buildstream -c 'python3 setup.py test --index-url invalid://uri'
-
-  - mkdir -p coverage-pytest/
-  - cp .coverage.* coverage-pytest/coverage.pytest
-  artifacts:
-    paths:
-    - coverage-pytest/
+# pytest:
+#   stage: test
+#   script:
+#   # We run as a simple user to test for permission issues
+#   - su buildstream -c 'python3 setup.py test --index-url invalid://uri'
+
+#   - mkdir -p coverage-pytest/
+#   - cp .coverage.* coverage-pytest/coverage.pytest
+#   artifacts:
+#     paths:
+#     - coverage-pytest/
 
 # Run integration tests
 #
@@ -44,7 +44,7 @@ integration_linux:
     - cd integration-tests
 
     # We run as a simple user to test for permission issues
-    - su buildstream -c './run-test.sh --arg --colors --cov ../.coveragerc --sources ${XDG_CACHE_HOME}/buildstream/sources test'
+    - su buildstream -c './run-test.sh --arg --colors --cov ../.coveragerc --sources ${XDG_CACHE_HOME}/buildstream/sources test cmake-test'
 
     - cd ..
     - mkdir -p coverage-linux/
@@ -56,46 +56,46 @@ integration_linux:
     - coverage-linux/
     - logs-linux/
 
-pytest_unix:
-  stage: test
-  variables:
-    BST_FORCE_BACKEND: "unix"
-  script:
-    # We remove the Bubblewrap and OSTree packages here so that we catch any
-    # codepaths that try to use them. Removing OSTree causes fuse-libs to
-    # disappear unless we mark it as user-installed.
-    - dnf mark install fuse-libs
-    - dnf erase -y bubblewrap ostree
-
-    # Since the unix platform is required to run as root, no user change required
-    - python3 setup.py test --index-url invalid://uri
-
-    - mkdir -p coverage-pytest-unix
-    - cp .coverage.* coverage-pytest-unix/coverage.pytest-unix
-  artifacts:
-    paths:
-      - coverage-pytest-unix/
-
-integration_unix:
-  stage: test
-  variables:
-    BST_FORCE_BACKEND: "unix"
-  script:
-    - pip3 install --no-index .
-    - cd integration-tests
-
-    # Since the unix platform is required to run as root, no user change required
-    - ./run-test.sh --arg --colors --cov ../.coveragerc --sources ${XDG_CACHE_HOME}/buildstream/sources test
-
-    - cd ..
-    - mkdir -p coverage-unix/
-    - cp integration-tests/.coverage coverage-unix/coverage.unix
-    - cp -a integration-tests/tmp/logs logs-unix
-
-  artifacts:
-    paths:
-    - coverage-unix/
-    - logs-unix/
+# pytest_unix:
+#   stage: test
+#   variables:
+#     BST_FORCE_BACKEND: "unix"
+#   script:
+#     # We remove the Bubblewrap and OSTree packages here so that we catch any
+#     # codepaths that try to use them. Removing OSTree causes fuse-libs to
+#     # disappear unless we mark it as user-installed.
+#     - dnf mark install fuse-libs
+#     - dnf erase -y bubblewrap ostree
+
+#     # Since the unix platform is required to run as root, no user change required
+#     - python3 setup.py test --index-url invalid://uri
+
+#     - mkdir -p coverage-pytest-unix
+#     - cp .coverage.* coverage-pytest-unix/coverage.pytest-unix
+#   artifacts:
+#     paths:
+#       - coverage-pytest-unix/
+
+# integration_unix:
+#   stage: test
+#   variables:
+#     BST_FORCE_BACKEND: "unix"
+#   script:
+#     - pip3 install --no-index .
+#     - cd integration-tests
+
+#     # Since the unix platform is required to run as root, no user change required
+#     - ./run-test.sh --arg --colors --cov ../.coveragerc --sources ${XDG_CACHE_HOME}/buildstream/sources test
+
+#     - cd ..
+#     - mkdir -p coverage-unix/
+#     - cp integration-tests/.coverage coverage-unix/coverage.unix
+#     - cp -a integration-tests/tmp/logs logs-unix
+
+#   artifacts:
+#     paths:
+#     - coverage-unix/
+#     - logs-unix/
 
 # Collate coverage reports
 #
@@ -114,10 +114,10 @@ coverage:
     - coverage combine --rcfile=../.coveragerc -a coverage.pytest-unix
     - coverage report --rcfile=../.coveragerc -m
   dependencies:
-  - pytest
+  # - pytest
   - integration_linux
-  - pytest_unix
-  - integration_unix
+  # - pytest_unix
+  # - integration_unix
 
 # Automatically build documentation, only for merges which land
 # on master branch.