| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This cycle was due to JacocoCoverage_deploy.jar being an implicit dependency
of java_binary. We do not need the binary during bootstrap because we are not
running with coverage but we need the target. Simply move it to exists as a
java_import in tools/jdk.
Fixes #2269.
To be cherry-picked for #2246.
--
Change-Id: I63aee0e76b305833ac0c0c2cae5abe1cbad5e6d1
Reviewed-on: https://cr.bazel.build/8036
PiperOrigin-RevId: 142537244
MOS_MIGRATED_REVID=142537244
|
|
|
|
|
|
|
|
|
|
| |
Previously it was assuming '$' was only present for inner classes,
but that isn't the case. This was causing problems specifically for
AutoValue extensions, which generate class names that start with '$'.
--
PiperOrigin-RevId: 142468150
MOS_MIGRATED_REVID=142468150
|
|
|
|
|
|
|
|
|
|
|
|
| |
At this point this does nothing more than re-run the exact same test without having to re-start the test runner.
In future iterations the aim is to be able to re-run tests with modified code, without having to re-start the test runner.
To test out the WorkerTestStrategy simply use --test_strategy=experimental_worker for a test with bazel.
--
PiperOrigin-RevId: 141465929
MOS_MIGRATED_REVID=141465929
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 141396618
MOS_MIGRATED_REVID=141396618
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 141325412
MOS_MIGRATED_REVID=141325412
|
|
|
|
|
|
|
|
| |
(series 3/4 of open-sourcing coverage command for java test)
--
PiperOrigin-RevId: 141046146
MOS_MIGRATED_REVID=141046146
|
|
|
|
|
|
|
| |
(series 1/4 of open-sourcing coverage command for java test)
--
MOS_MIGRATED_REVID=140723068
|
|
|
|
|
|
|
| |
follow-up to commit 1f4ee384922f63b3132cb98a6bc950b3fe65e8ca
--
MOS_MIGRATED_REVID=140621947
|
|
|
|
|
|
|
|
| |
This makes its behaviour consistent with regular turbine, avoiding
skew when switching between implementations.
--
MOS_MIGRATED_REVID=140547517
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=140132183
|
|
|
|
|
|
|
| |
build. See https://bazel-review.googlesource.com/#/c/7270/ for details.
--
MOS_MIGRATED_REVID=139580987
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=139399869
|
|
|
|
|
|
|
|
|
|
|
|
| |
When rewriting blocks to `{ throws new AssertionError(); }`, use
a fully-qualified name for `java.lang.AssertionError` in case we're
inside the declaration of a type with the same simple name.
Also, only add the throws expression statement when rewriting
lambda body blocks, since that's the only place it matters.
--
MOS_MIGRATED_REVID=139397324
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Lambda expression doesn't work with JDK7, which Bazel still supports
*** Original change description ***
Fix strict deps handling of the default package.
--
MOS_MIGRATED_REVID=139327789
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=139243894
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=139159834
|
|
|
|
|
|
|
|
| |
ZipOutputStream has been able to create empty zip files since JDK7:
https://bugs.openjdk.java.net/browse/JDK-6440786
--
MOS_MIGRATED_REVID=139089919
|
|
|
|
|
|
|
|
| |
Rewriting block-bodied lambda bodies into empty blocks breaks
breaks overload resolution.
--
MOS_MIGRATED_REVID=138936301
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
junitrunner/java/com/google/testing/junit/runner/sharding/weighted has an internal reference that is not easy to open-source. For now it makes more sense to roll this back and keep this package just internally.
*** Original change description ***
Open sourcing junitrunner/java/com/google/testing/junit/runner/sharding/weighted.
--
MOS_MIGRATED_REVID=138852305
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=138831285
|
|
|
|
|
|
|
|
|
| |
doesn't conflict with whatever AutoValue version the code under test has.
Fixes #2044.
--
MOS_MIGRATED_REVID=138618191
|
|
|
|
|
|
|
|
| |
-Xlintdoc:reference causes javac to load symbols referenced in javadoc, which
may fail with the reduced classpath optimization enabled.
--
MOS_MIGRATED_REVID=138529301
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=138223170
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=137669164
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=137500893
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=137495530
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=137464177
|
|
|
|
|
|
|
|
|
|
| |
to java/c/g/testing/junit/runner/sharding/testing. Also:
- Remove Guava dependencies and fix minor style issues in FakeShardingFilters
- Fix lint issues in TestSuite[]ModelTest
--
MOS_MIGRATED_REVID=136840327
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Roll-forward with fix.
Tested with `bazel build src:srcs //src/test/...` using a bootstrapped bazel.
Fixes #1923.
RELNOTES[INC]: Non test-only targets can no longer depends on test-only targets.
*** Original change description ***
Automated [] rollback of commit a9f20b0d6459d395444c45cf5e94a899f3443633.
*** Reason for rollback ***
Broke Bazel CI:
ERROR: /home/ci/workspace/Bazel/JAVA_VERSION/1.8/PLATFORM_NAME/linux-x86_64/src/BUILD:284:1: in filegroup rule //src:srcs: non-test target '//src:srcs' depends on testonly target '//src/java_tools/junitrunner/java/com/google/testing/junit/junit4:srcs' and doesn't have testonly attribute set.
ERROR: Analysis of target '//scripts/packages:packages' failed; build aborted.
http://ci.bazel.io/view/Bazel%20b...
***
--
MOS_MIGRATED_REVID=136589937
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=135942005
|
|
|
|
|
|
|
| |
package.
--
MOS_MIGRATED_REVID=135869348
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=135810752
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
This CL is causing failures in one of our integration tests:
//javatests/com/google/security/authorization/sphinx/integration:SimpleUIEditorPageE2eTest_firefox-linux
[] link:
[]
Note: Specifically, it looks like BinStackingShardingFilterFactory.java pointing to the branched RuntimeCost annotation is causing the failures.
I tried to change our test to point to the branched RuntimeCost annotation but Target '//third_party/bazel/src/java_tools/junitrunner/java/com/google/testing/junit/runner/sharding/weighted:weighted' is not visible.
*** Original change description ***
Branched internal RuntimeCost in junitrunner.
RuntimeCost class is needed by the package com.google.testing.junit.runner.sharding.weighted. I branched it from the internal code because the weighted package is now open sourced and does not have access to the previous import.
This didn't break Bazel before because there was no dependency to the weighted target when building BazelTestRunner. I catched this trying to open-source junitrunner tests.
--
MOS_MIGRATED_REVID=135734237
|
|
|
|
|
|
|
|
|
|
|
|
| |
c.g.testing.junit.runner.internal.junit4
Other minor changes:
- reduce visibility of MemoizingRequest.createRunner()
- Fix bug in CancellableRequestFactory where createRequest() can be called multiple times
--
MOS_MIGRATED_REVID=135722005
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=135388964
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=135171940
|
|
|
|
|
|
|
|
| |
c.g.testing.junit.junit4.runner.internal or
c.g.testing.junit.junit4.runner.internal.junit4
--
MOS_MIGRATED_REVID=135003685
|
|
|
|
|
|
|
| |
java_proto_library), pass it the kind of the rule.
--
MOS_MIGRATED_REVID=134694958
|
|
|
|
|
|
|
| |
c.g.testing.junit.junit4.runner.
--
MOS_MIGRATED_REVID=134685188
|
|
|
|
|
|
|
|
|
| |
RuntimeCost class is needed by the package com.google.testing.junit.runner.sharding.weighted. I branched it from the internal code because the weighted package is now open sourced and does not have access to the previous import.
This didn't break Bazel before because there was no dependency to the weighted target when building BazelTestRunner. I catched this trying to open-source junitrunner tests.
--
MOS_MIGRATED_REVID=134634122
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=134546010
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=134486526
|
|
|
|
|
|
|
| |
junitrunner/java/com/google/testing/junit/runner/sharding/weighted.
--
MOS_MIGRATED_REVID=134046554
|
|
|
|
|
|
|
| |
inject custom extra data (link, icons, etc) so that a test method can be associated with an external tool.
--
MOS_MIGRATED_REVID=133912980
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133899664
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133894022
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, all classes from the symbol table are added to jdeps,
even if some of them haven't been resolved and as such aren't
actually used. This causes siblings from other jars (such as
R.java) to be added to jdeps, even though they are not actually
referenced. Mark these with Kind.UNRESOLVED to allow code to
discard these.
All non-test code that references Kind.IMPLICIT has been
modified to also check for Kind.INCOMPLETE to keep
the current behavior unchanged.
Eg:
jar liba.jar:
package a;
class A {
void test() {
// Use R.id
}
}
jar liba_resources.jar:
package a;
class R {
}
package b;
import a;
class MyClass {
A a = new A();
}
---> jdeps will contain both liba.jar, liba_resources.jar
the latter will now have Kind.INCOMPLETE.
--
MOS_MIGRATED_REVID=133791687
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133756960
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks TensorFlow and other Bazel jobs on ci.bazel.io
*** Original change description ***
Change execution root for external repositories to be ../repo
Some of the important aspect of this change:
* Remote repos in the execution root are under output_base/execroot/repo_name, so the prefix is ../repo_name (to escape the local workspace name).
* Package roots for external repos were previously "output_base/", they are now output_base/external/repo_name (which means source artifacts always have a relative path from their repository).
* Outputs are under bazel-bin/external/repo_name/ (or similarly under genfiles). Note that this is a bit of a change from how this was implemented in the previous cl.
Fixes #1262.
RELNOTES[INC]: Previously, an external repository would be symlinked into the
execution root at execroot/local_repo/external/remote_repo. This changes it to
be at execroot/remote_repo. This may break genrules/Skylark actions that
hardcode execution root paths. If this causes breakages for you, ensure that
genrules are using $(location :target) to access files and Skylark rules are
using http://bazel.io/docs/skylark/lib/File.html's path, dirname, etc.
functions.
Roll forward of bdfd58a.
--
MOS_MIGRATED_REVID=133709658
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some of the important aspect of this change:
* Remote repos in the execution root are under output_base/execroot/repo_name, so the prefix is ../repo_name (to escape the local workspace name).
* Package roots for external repos were previously "output_base/", they are now output_base/external/repo_name (which means source artifacts always have a relative path from their repository).
* Outputs are under bazel-bin/external/repo_name/ (or similarly under genfiles). Note that this is a bit of a change from how this was implemented in the previous cl.
Fixes #1262.
RELNOTES[INC]: Previously, an external repository would be symlinked into the
execution root at execroot/local_repo/external/remote_repo. This changes it to
be at execroot/remote_repo. This may break genrules/Skylark actions that
hardcode execution root paths. If this causes breakages for you, ensure that
genrules are using $(location :target) to access files and Skylark rules are
using http://bazel.io/docs/skylark/lib/File.html's path, dirname, etc.
functions.
Roll forward of bdfd58a.
--
MOS_MIGRATED_REVID=133606309
|