Skip to content

Commit 526dbe5

Browse files
committed
Address review, also run semmle-util tests.
1 parent 18560cd commit 526dbe5

File tree

7 files changed

+11
-9
lines changed

7 files changed

+11
-9
lines changed

csharp/BUILD.bazel

+4-3
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,9 @@ test_suite(
7474
name = "unit-tests",
7575
tags = ["csharp"],
7676
tests = [
77-
"//csharp/autobuilder/Semmle.Autobuild.CSharp.Tests:t",
78-
"//csharp/autobuilder/Semmle.Autobuild.Cpp.Tests:t",
79-
"//csharp/extractor/Semmle.Extraction.Tests:t",
77+
"//csharp/autobuilder/Semmle.Autobuild.CSharp.Tests:acst",
78+
"//csharp/autobuilder/Semmle.Autobuild.Cpp.Tests:acpt",
79+
"//csharp/extractor/Semmle.Extraction.Tests:et",
80+
"//csharp/extractor/Semmle.Util.Tests:ut",
8081
],
8182
)

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ load(
55

66
codeql_xunit_test(
77
# short name as we run into long path limitations on Windows
8-
name = "t",
8+
name = "acst",
99
srcs = glob([
1010
"*.cs",
1111
]),

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ load(
55

66
codeql_xunit_test(
77
# short name as we run into long path limitations on Windows
8-
name = "t",
8+
name = "acpt",
99
srcs = glob([
1010
"*.cs",
1111
]),

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ codeql_csharp_library(
1010
"SourceGenerators/**/*.cs",
1111
]),
1212
allow_unsafe_blocks = True,
13-
internals_visible_to = ["t"],
13+
internals_visible_to = ["et"],
1414
visibility = ["//csharp:__subpackages__"],
1515
deps = [
1616
"//csharp/extractor/Semmle.Extraction.CSharp",

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

+1-1
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 = ["t"],
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ load(
55

66
codeql_xunit_test(
77
# short name as we run into long path limitations on Windows
8-
name = "t",
8+
name = "et",
99
srcs = glob([
1010
"*.cs",
1111
]),

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ load(
44
)
55

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

0 commit comments

Comments
 (0)