mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
Merge pull request #20269 from github/hmakholm/pr/test-run-output
rust integration test: use all output from codeql test run
This commit is contained in:
@@ -20,7 +20,7 @@ def test(codeql, rust, expected_files, dir):
|
||||
codeql.test.run(dir)
|
||||
|
||||
def test_failing_cargo_check(codeql, rust):
|
||||
out = codeql.test.run("failing_cargo_check", _assert_failure=True, _capture="stderr")
|
||||
out = codeql.test.run("failing_cargo_check", _assert_failure=True, _capture="all")
|
||||
# TODO: QL test output redirection is currently broken on windows, leaving it up for follow-up work
|
||||
if not runs_on.windows:
|
||||
assert "requested cargo check failed" in out
|
||||
|
||||
Reference in New Issue
Block a user