зеркало из https://github.com/github/codeql.git
Rust: accept integration test changes
This commit is contained in:
Родитель
fce13aeb35
Коммит
e4f982c12c
|
@ -1 +1 @@
|
|||
| src/main.rs:4:1:6:1 | main |
|
||||
| src/main.rs:4:1:6:1 | fn main |
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
| exe/src/main.rs:5:1:7:1 | main |
|
||||
| lib/src/a_module/mod.rs:1:1:3:1 | hello |
|
||||
| exe/src/main.rs:5:1:7:1 | fn main |
|
||||
| lib/src/a_module/mod.rs:1:1:3:1 | fn hello |
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
| src/lib.rs:7:1:8:19 | cfg_no_flag |
|
||||
| src/lib.rs:10:1:11:18 | cfg_no_key |
|
||||
| src/lib.rs:16:1:17:24 | pointer_width_64 |
|
||||
| src/lib.rs:7:1:8:19 | fn cfg_no_flag |
|
||||
| src/lib.rs:10:1:11:18 | fn cfg_no_key |
|
||||
| src/lib.rs:16:1:17:24 | fn pointer_width_64 |
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
| src/lib.rs:1:1:2:16 | cfg_flag |
|
||||
| src/lib.rs:4:1:5:15 | cfg_key |
|
||||
| src/lib.rs:13:1:14:12 | test |
|
||||
| src/lib.rs:19:1:20:24 | pointer_width_32 |
|
||||
| src/lib.rs:1:1:2:16 | fn cfg_flag |
|
||||
| src/lib.rs:4:1:5:15 | fn cfg_key |
|
||||
| src/lib.rs:13:1:14:12 | fn test |
|
||||
| src/lib.rs:19:1:20:24 | fn pointer_width_32 |
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
| src/lib.rs:1:1:2:11 | foo |
|
||||
| src/lib.rs:4:1:5:11 | bar |
|
||||
| src/lib.rs:7:1:7:14 | always |
|
||||
| src/lib.rs:1:1:2:11 | fn foo |
|
||||
| src/lib.rs:4:1:5:11 | fn bar |
|
||||
| src/lib.rs:7:1:7:14 | fn always |
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
| src/lib.rs:4:1:5:11 | bar |
|
||||
| src/lib.rs:7:1:7:14 | always |
|
||||
| src/lib.rs:4:1:5:11 | fn bar |
|
||||
| src/lib.rs:7:1:7:14 | fn always |
|
||||
|
|
|
@ -1 +1 @@
|
|||
| src/lib.rs:7:1:7:14 | always |
|
||||
| src/lib.rs:7:1:7:14 | fn always |
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
| src/lib.rs:1:1:2:11 | foo |
|
||||
| src/lib.rs:7:1:7:14 | always |
|
||||
| src/lib.rs:1:1:2:11 | fn foo |
|
||||
| src/lib.rs:7:1:7:14 | fn always |
|
||||
|
|
|
@ -1 +1 @@
|
|||
| src/lib.rs:7:1:8:13 | macos |
|
||||
| src/lib.rs:7:1:8:13 | fn macos |
|
||||
|
|
|
@ -1 +1 @@
|
|||
| src/lib.rs:1:1:2:13 | linux |
|
||||
| src/lib.rs:1:1:2:13 | fn linux |
|
||||
|
|
|
@ -1 +1 @@
|
|||
| src/lib.rs:4:1:5:15 | windows |
|
||||
| src/lib.rs:4:1:5:15 | fn windows |
|
||||
|
|
|
@ -6,11 +6,12 @@ import pytest
|
|||
# (which skips `qltest.{sh,cmd}`)
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def default_options(codeql):
|
||||
def default_options(codeql, pytestconfig):
|
||||
codeql.flags.update(
|
||||
threads = 1,
|
||||
show_extractor_output = True,
|
||||
check_databases = False,
|
||||
learn = pytestconfig.getoption("learn"),
|
||||
)
|
||||
|
||||
@pytest.mark.parametrize("dir", ["lib", "main", "dependencies"])
|
||||
|
|
Загрузка…
Ссылка в новой задаче