mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Address review, also run semmle-util tests.
This commit is contained in:
@@ -74,8 +74,9 @@ test_suite(
|
||||
name = "unit-tests",
|
||||
tags = ["csharp"],
|
||||
tests = [
|
||||
"//csharp/autobuilder/Semmle.Autobuild.CSharp.Tests:t",
|
||||
"//csharp/autobuilder/Semmle.Autobuild.Cpp.Tests:t",
|
||||
"//csharp/extractor/Semmle.Extraction.Tests:t",
|
||||
"//csharp/autobuilder/Semmle.Autobuild.CSharp.Tests:acst",
|
||||
"//csharp/autobuilder/Semmle.Autobuild.Cpp.Tests:acpt",
|
||||
"//csharp/extractor/Semmle.Extraction.Tests:et",
|
||||
"//csharp/extractor/Semmle.Util.Tests:ut",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -5,7 +5,7 @@ load(
|
||||
|
||||
codeql_xunit_test(
|
||||
# short name as we run into long path limitations on Windows
|
||||
name = "t",
|
||||
name = "acst",
|
||||
srcs = glob([
|
||||
"*.cs",
|
||||
]),
|
||||
|
||||
@@ -5,7 +5,7 @@ load(
|
||||
|
||||
codeql_xunit_test(
|
||||
# short name as we run into long path limitations on Windows
|
||||
name = "t",
|
||||
name = "acpt",
|
||||
srcs = glob([
|
||||
"*.cs",
|
||||
]),
|
||||
|
||||
@@ -10,7 +10,7 @@ codeql_csharp_library(
|
||||
"SourceGenerators/**/*.cs",
|
||||
]),
|
||||
allow_unsafe_blocks = True,
|
||||
internals_visible_to = ["t"],
|
||||
internals_visible_to = ["et"],
|
||||
visibility = ["//csharp:__subpackages__"],
|
||||
deps = [
|
||||
"//csharp/extractor/Semmle.Extraction.CSharp",
|
||||
|
||||
@@ -8,7 +8,7 @@ codeql_csharp_library(
|
||||
srcs = glob([
|
||||
"*.cs",
|
||||
]),
|
||||
internals_visible_to = ["t"],
|
||||
internals_visible_to = ["et"],
|
||||
visibility = ["//csharp:__subpackages__"],
|
||||
deps = [
|
||||
"//csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching",
|
||||
|
||||
@@ -5,7 +5,7 @@ load(
|
||||
|
||||
codeql_xunit_test(
|
||||
# short name as we run into long path limitations on Windows
|
||||
name = "t",
|
||||
name = "et",
|
||||
srcs = glob([
|
||||
"*.cs",
|
||||
]),
|
||||
|
||||
@@ -4,7 +4,8 @@ load(
|
||||
)
|
||||
|
||||
codeql_xunit_test(
|
||||
name = "Semmle.Util.Tests",
|
||||
# short name as we run into long path limitations on Windows
|
||||
name = "ut",
|
||||
srcs = glob([
|
||||
"*.cs",
|
||||
]),
|
||||
|
||||
Reference in New Issue
Block a user