-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
//src/test/java/com/google/devtools/build/lib/rules/cpp:cpp-rules-tests not running on Windows #4127
Comments
I remember checking that Indeed, commit 3f2f480 moved Yun, do you have any idea how we could prevent such inadvertent test suite changes in the future? |
I see, thanks for looking into it. |
We didn't. It was matched by the test_suite in its old package: bazel/src/test/java/com/google/devtools/build/lib/BUILD Lines 1351 to 1358 in d0bf589
|
I see, explicitly refer every test is not feasible. But can test_suite also match tests under its subpackage? |
Or we have to use |
No, test_suite cannot match tests in subpackages. |
Or comparing its output to another genquery? Something like: So that we don't have to modify the test list every time it changes. |
Sure, if genquery supports "..." targets then let's do that. |
Yes, it does.
|
"bazel query" and "genquery" are slightly different:
(source: https://docs.bazel.build/versions/master/be/general.html#genquery) And unfortunately in this case they are different. Query:
Genquery:
|
;( Looks like the golden test list is the only way ... |
This bug is superseded by #4292. Dropping to P2 to match that bug's current priority. |
aaand raising to P1 to match #4292 's new priority. |
I just noticed cpp-rules-tests is not running on Windows for a while.
I believe we missed many Windows breakage due to this.
I believe this is due to our change for Windows tests configuration?
See
bazel/src/test/java/com/google/devtools/build/lib/BUILD
Line 1361 in 275ae45
@laszlocsomor Any specific reason we are not running this test?
The text was updated successfully, but these errors were encountered: