Skip to content

Commit 98b7d50

Browse files
author
Paolo Tranquilli
committed
Rust: avoid test name with *
1 parent d9d37dc commit 98b7d50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rust/ql/integration-tests/options/test_options.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ def test_cfg_override(codeql, rust):
3030
@pytest.mark.parametrize("features",
3131
[
3232
pytest.param(p,
33-
marks=pytest.mark.ql_test("feature_functions.ql", expected=f".{e}.expected"))
33+
marks=pytest.mark.ql_test("feature_functions.ql", expected=f".{e}.expected"),
34+
id="all" if p == "*" else p) # CI does not like tests with *...
3435
for p, e in (("foo", "foo"), ("bar", "bar"), ("*", "all"), ("foo,bar", "all"))
3536
])
3637
def test_features(codeql, rust, features):

0 commit comments

Comments
 (0)