You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Test
public void testMissingPackage() throws Exception {
getConfiguredTarget("//a:a");
}
Run this test case, observe that the test case passes, even though a/BUILD doesn't exist anywhere.
This is usually not a problem because we usually do something with its return value, which is null and thus a NullPointerException would result, but it's still an ugly misfeature of our test framework.
The text was updated successfully, but these errors were encountered:
Also fix an embarrassing issue that made the tests in BazelProtoInfoStarlarkTest silently *always pass*. The root cause of that is that we swallow loading-phase errors for some reason (#6902), but let's fix that in a different change.
Progress towards #6901.
RELNOTES: None.
PiperOrigin-RevId: 225339799
philwo
added
team-Core
Skyframe, bazel query, BEP, options parsing, bazelrc
and removed
area-EngProd
Bazel CI, infrastructure, bootstrapping, release, and distribution tooling
labels
May 6, 2019
Reproduction:
Run this test case, observe that the test case passes, even though
a/BUILD
doesn't exist anywhere.This is usually not a problem because we usually do something with its return value, which is null and thus a
NullPointerException
would result, but it's still an ugly misfeature of our test framework.The text was updated successfully, but these errors were encountered: