mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
C#: Shorten test target names to make Windows happy.
This commit is contained in:
@@ -74,8 +74,8 @@ test_suite(
|
||||
name = "unit-tests",
|
||||
tags = ["csharp"],
|
||||
tests = [
|
||||
"//csharp/autobuilder/Semmle.Autobuild.CSharp.Tests",
|
||||
"//csharp/autobuilder/Semmle.Autobuild.Cpp.Tests",
|
||||
"//csharp/extractor/Semmle.Extraction.Tests",
|
||||
"//csharp/autobuilder/Semmle.Autobuild.CSharp.Tests:t",
|
||||
"//csharp/autobuilder/Semmle.Autobuild.Cpp.Tests:t",
|
||||
"//csharp/extractor/Semmle.Extraction.Tests:t",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -4,7 +4,8 @@ load(
|
||||
)
|
||||
|
||||
codeql_xunit_test(
|
||||
name = "Semmle.Autobuild.CSharp.Tests",
|
||||
# short name as we run into long path limitations on Windows
|
||||
name = "t",
|
||||
srcs = glob([
|
||||
"*.cs",
|
||||
]),
|
||||
|
||||
@@ -4,7 +4,8 @@ load(
|
||||
)
|
||||
|
||||
codeql_xunit_test(
|
||||
name = "Semmle.Autobuild.Cpp.Tests",
|
||||
# short name as we run into long path limitations on Windows
|
||||
name = "t",
|
||||
srcs = glob([
|
||||
"*.cs",
|
||||
]),
|
||||
|
||||
@@ -10,7 +10,7 @@ codeql_csharp_library(
|
||||
"SourceGenerators/**/*.cs",
|
||||
]),
|
||||
allow_unsafe_blocks = True,
|
||||
internals_visible_to = ["Semmle.Extraction.Tests"],
|
||||
internals_visible_to = ["t"],
|
||||
visibility = ["//csharp:__subpackages__"],
|
||||
deps = [
|
||||
"//csharp/extractor/Semmle.Extraction.CSharp",
|
||||
|
||||
@@ -8,7 +8,7 @@ codeql_csharp_library(
|
||||
srcs = glob([
|
||||
"*.cs",
|
||||
]),
|
||||
internals_visible_to = ["Semmle.Extraction.Tests"],
|
||||
internals_visible_to = ["t"],
|
||||
visibility = ["//csharp:__subpackages__"],
|
||||
deps = [
|
||||
"//csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching",
|
||||
|
||||
@@ -4,7 +4,8 @@ load(
|
||||
)
|
||||
|
||||
codeql_xunit_test(
|
||||
name = "Semmle.Extraction.Tests",
|
||||
# short name as we run into long path limitations on Windows
|
||||
name = "t",
|
||||
srcs = glob([
|
||||
"*.cs",
|
||||
]),
|
||||
|
||||
Reference in New Issue
Block a user