commit | ca5565a9b7aa5703df38fab9fe1b2244dac726ae | [log] [tgz] |
---|---|---|
author | Klaus Aehlig <aehlig@google.com> | Tue May 07 05:43:58 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue May 07 05:45:17 2019 -0700 |
tree | 14084c38832c5827847c8cf0a3561d7b6600986a | |
parent | 21521541d5e7e7d786a160af5c3b4c7c8fce82e9 [diff] [blame] |
Show path for missing BUILD file also in external repositories Since c578764adcf we report additional path information if a package does not exist because of a missing BUILD file. Ensure we also report this, if the packge is supposed to be in an external repository. Change-Id: Iabfd4fe0deb5e43d7cb974a46bdc328c28762db4 PiperOrigin-RevId: 247003674
diff --git a/src/test/java/com/google/devtools/build/lib/skyframe/ConstraintValueLookupUtilTest.java b/src/test/java/com/google/devtools/build/lib/skyframe/ConstraintValueLookupUtilTest.java index fe9f0ff..aaf1968 100644 --- a/src/test/java/com/google/devtools/build/lib/skyframe/ConstraintValueLookupUtilTest.java +++ b/src/test/java/com/google/devtools/build/lib/skyframe/ConstraintValueLookupUtilTest.java
@@ -125,7 +125,7 @@ .hasErrorEntryForKeyThat(key) .hasExceptionThat() .hasMessageThat() - .contains("no such package 'fake': BUILD file not found on package path"); + .contains("no such package 'fake': BUILD file not found"); } // Calls ConstraintValueLookupUtil.getConstraintValueInfo.