-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rust/Swift: add integration tests checking env dumping
- Loading branch information
Paolo Tranquilli
committed
Jan 23, 2025
1 parent
4bd4937
commit cf430da
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
import pytest | ||
|
||
import runs_on | ||
|
||
|
||
@runs_on.posix | ||
def test(codeql, swift): | ||
codeql.database.create(command="swift build") | ||
|
||
@runs_on.posix | ||
@pytest.mark.ql_test(None) | ||
def test_do_not_print_env(codeql, swift, check_env_not_dumped): | ||
codeql.database.create(command="swift build", _env={ | ||
"CODEQL_EXTRACTOR_SWIFT_LOG_LEVELS": "out:text:trace", | ||
}) |