Skip to content

Commit 3134c0a

Browse files
authored
Merge pull request #20269 from github/hmakholm/pr/test-run-output
rust integration test: use all output from codeql test run
2 parents 49c4c34 + 2e69417 commit 3134c0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/ql/integration-tests/qltest/test_qltest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test(codeql, rust, expected_files, dir):
2020
codeql.test.run(dir)
2121

2222
def test_failing_cargo_check(codeql, rust):
23-
out = codeql.test.run("failing_cargo_check", _assert_failure=True, _capture="stderr")
23+
out = codeql.test.run("failing_cargo_check", _assert_failure=True, _capture="all")
2424
# TODO: QL test output redirection is currently broken on windows, leaving it up for follow-up work
2525
if not runs_on.windows:
2626
assert "requested cargo check failed" in out

0 commit comments

Comments
 (0)