Patchwork [6,of,6,v3] heptapod-ci: use the new `--rust/--no-rust` flag to run the tests

login
register
mail settings
Submitter Pierre-Yves David
Date March 9, 2020, 5:34 p.m.
Message ID <955e8b094c9bafe7d1ab.1583775297@nodosa.octobus.net>
Download mbox | patch
Permalink /patch/45640/
State Accepted
Headers show

Comments

Pierre-Yves David - March 9, 2020, 5:34 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1583510570 -3600
#      Fri Mar 06 17:02:50 2020 +0100
# Node ID 955e8b094c9bafe7d1abba3381539d05c9c06570
# Parent  5e7e2fecabbc0859174a1d09b092d3e0386ab458
# EXP-Topic rust-test-option
# Available At https://dev.heptapod.net/octobus/mercurial-devel/
#              hg pull https://dev.heptapod.net/octobus/mercurial-devel/ -r 955e8b094c9b
heptapod-ci: use the new `--rust/--no-rust` flag to run the tests

Patch

diff --git a/contrib/heptapod-ci.yml b/contrib/heptapod-ci.yml
--- a/contrib/heptapod-ci.yml
+++ b/contrib/heptapod-ci.yml
@@ -43,13 +43,13 @@  rust-cargo-test-py3:
 test-py2:
     <<: *runtests
     variables:
-        RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt"
+        RUNTEST_ARGS: " --no-rust --blacklist /tmp/check-tests.txt"
         TEST_HGMODULEPOLICY: "c"
 
 test-py3:
     <<: *runtests
     variables:
-        RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt"
+        RUNTEST_ARGS: " --no-rust --blacklist /tmp/check-tests.txt"
         PYTHON: python3
         TEST_HGMODULEPOLICY: "c"
 
@@ -70,13 +70,13 @@  test-py2-rust:
     <<: *runtests
     variables:
         HGWITHRUSTEXT: cpython
-        RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt"
+        RUNTEST_ARGS: "--rust --blacklist /tmp/check-tests.txt"
         TEST_HGMODULEPOLICY: "rust+c"
 
 test-py3-rust:
     <<: *runtests
     variables:
         HGWITHRUSTEXT: cpython
-        RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt"
+        RUNTEST_ARGS: "--rust --blacklist /tmp/check-tests.txt"
         PYTHON: python3
         TEST_HGMODULEPOLICY: "rust+c"