-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C#: Shorten test target names to make Windows happy. #18245
Conversation
d8aeb70
to
18560cd
Compare
@@ -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", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe use different short names for each project?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure! Let's see if 4 characters are too much already or not.
c739f19
to
798b86f
Compare
It seems when I ported the test suite to Bazel, I forgot to enable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thx!! 🎅
With this, we can finally re-enable the C# unit tests on Windows (no more bazel errors about path length limitations).
The target name appears 3/4 times in the relevant path, so shortening it from the original names to "t" fixes our long-path problem.