Skip to content

Commit badc927

Browse files
authored
Merge branch 'main' into post-release-prep/codeql-cli-2.20.0
2 parents 406ac15 + dcc35a5 commit badc927

File tree

19 files changed

+79
-40
lines changed

19 files changed

+79
-40
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
category: minorAnalysis
33
---
4-
* The "Too few arguments to formatting function" query (`cpp/wrong-number-format-arguments`) query no longer produces results if an argument has an extraction error.
4+
* The "Too few arguments to formatting function" query (`cpp/wrong-number-format-arguments`) no longer produces results if an argument has an extraction error.

csharp/BUILD.bazel

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,10 @@ test_suite(
7474
name = "unit-tests",
7575
tags = ["csharp"],
7676
tests = [
77-
"//csharp/autobuilder/Semmle.Autobuild.CSharp.Tests",
78-
"//csharp/autobuilder/Semmle.Autobuild.Cpp.Tests",
79-
"//csharp/extractor/Semmle.Extraction.Tests",
77+
"//csharp/autobuilder/Semmle.Autobuild.CSharp.Tests:acst",
78+
"//csharp/autobuilder/Semmle.Autobuild.Cpp.Tests:acpt",
79+
"//csharp/extractor/Semmle.Extraction.Tests:et",
80+
# this test suite currently fails, disable for now
81+
# "//csharp/extractor/Semmle.Util.Tests:ut",
8082
],
8183
)

csharp/autobuilder/Semmle.Autobuild.CSharp.Tests/BUILD.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ load(
44
)
55

66
codeql_xunit_test(
7-
name = "Semmle.Autobuild.CSharp.Tests",
7+
# short name as we run into long path limitations on Windows
8+
name = "acst",
89
srcs = glob([
910
"*.cs",
1011
]),

csharp/autobuilder/Semmle.Autobuild.CSharp/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,5 @@ codeql_csharp_binary(
1717
"//csharp/extractor/Semmle.Extraction.CSharp.Standalone:bin/Semmle.Extraction.CSharp.Standalone",
1818
"//csharp/extractor/Semmle.Util",
1919
"@paket.main//microsoft.build",
20-
"@paket.main//newtonsoft.json",
2120
],
2221
)
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Newtonsoft.Json
21
Microsoft.Build

csharp/autobuilder/Semmle.Autobuild.Cpp.Tests/BUILD.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ load(
44
)
55

66
codeql_xunit_test(
7-
name = "Semmle.Autobuild.Cpp.Tests",
7+
# short name as we run into long path limitations on Windows
8+
name = "acpt",
89
srcs = glob([
910
"*.cs",
1011
]),

csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ codeql_csharp_library(
1010
"SourceGenerators/**/*.cs",
1111
]),
1212
allow_unsafe_blocks = True,
13-
internals_visible_to = ["Semmle.Extraction.Tests"],
14-
nowarn = ["CA1822"],
13+
internals_visible_to = ["et"],
1514
visibility = ["//csharp:__subpackages__"],
1615
deps = [
1716
"//csharp/extractor/Semmle.Extraction.CSharp",
1817
"//csharp/extractor/Semmle.Util",
18+
"@paket.main//newtonsoft.json",
1919
],
2020
)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Newtonsoft.Json

csharp/extractor/Semmle.Extraction.CSharp.StubGenerator/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ codeql_csharp_library(
88
srcs = glob([
99
"*.cs",
1010
]),
11-
internals_visible_to = ["Semmle.Extraction.Tests"],
11+
internals_visible_to = ["et"],
1212
visibility = ["//csharp:__subpackages__"],
1313
deps = [
1414
"//csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching",

csharp/extractor/Semmle.Extraction.Tests/BUILD.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ load(
44
)
55

66
codeql_xunit_test(
7-
name = "Semmle.Extraction.Tests",
7+
# short name as we run into long path limitations on Windows
8+
name = "et",
89
srcs = glob([
910
"*.cs",
1011
]),

0 commit comments

Comments
 (0)