aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/lib/analysis/util/ConfigurationTestCase.java
Commit message (Collapse)AuthorAge
* Move local_repository and new_local_repository from build.lib.bazel to ↵Gravatar Lukacs Berki2015-10-30
| | | | | | | build.lib. -- MOS_MIGRATED_REVID=106689603
* Pass in a set of SkyFunctions in AnalysisMock.Gravatar Lukacs Berki2015-10-08
| | | | | | | | | This is required because Bazel will get tools from an external repository, and thus tests will need to support external repositories. This code is currently unused and was lopped off of a git branch I maintain locally that contains a Bazel version that gets tools from an external repository. -- MOS_MIGRATED_REVID=104851767
* Set the SkyframeActionExecutor.reporter in prepareForExecution.Gravatar Ulf Adams2015-09-30
| | | | | | | Remove a lot of now-unused Reporter parameters. -- MOS_MIGRATED_REVID=104100061
* Rationalize copyright headersGravatar Damien Martin-Guillerez2015-09-25
| | | | | | | | | | | The headers were modified with `find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'` And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan. The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand. -- MOS_MIGRATED_REVID=103938715
* Remove more uses of errorEventHandler (previously of Reporter).Gravatar Ulf Adams2015-09-24
| | | | | | | Removes mutable global state. -- MOS_MIGRATED_REVID=103837106
* Move ownership of SkyframeBuildView to SkyframeExecutor.Gravatar Ulf Adams2015-09-23
| | | | | | | | Also move ownership of ArtifactFactory to SkyframeBuildView; simplify the code. -- MOS_MIGRATED_REVID=103722228
* Remove more static configuration transitions from tests, as prep work for Gravatar Greg Estren2015-08-04
| | | | | | | []. -- MOS_MIGRATED_REVID=99592972
* Allow modules to specify additional nodes in the graph to be invalidated and ↵Gravatar Janak Ramakrishnan2015-07-29
| | | | | | | | | | | use this functionality to properly invalidate http download nodes if the downloaded zip file doesn't match the specified hash. This still means that the actual files downloaded may not match, but checking all such files may be too expensive. This helps with #336 but before that issue can be closed all remote repositories (git, etc.), should have similar functionality added. -- MOS_MIGRATED_REVID=99317085
* Add a hidden flag which allows us to set the size of the legacy globbing ↵Gravatar Eric Fellheimer2015-05-22
| | | | | | | thread pool. -- MOS_MIGRATED_REVID=94236393
* Simplify the createConfiguration method in SkyframeExecutor.Gravatar Ulf Adams2015-04-23
| | | | | | | | | Instead of passing BuildConfigurationKey instances around, just pass in the little data we actually need. This allows removing the BuildConfigurationKey class. -- MOS_MIGRATED_REVID=91865340
* Pass in the test environment using ↵Gravatar Lukacs Berki2015-04-20
| | | | | | | | | | | BuildConfiguration.Options.testEnvironment instead of special-casing it in a large number of classes. The variables in the client environment are read in BlazeRuntime#beforeCommand() now. Note that this entails a slight loss of caching: before, "--test_env=a=A,b=B" and "--test_env=b=B,a=A" were equivalent, now they are not, since instead of comparing Map<String, String>, List<Map.Entry<String,String>> instances are compared. -- MOS_MIGRATED_REVID=91570828
* A minor refactoring of BlazeRuntime.Gravatar Lukacs Berki2015-04-17
| | | | | -- MOS_MIGRATED_REVID=91405317
* Open source the configuration tests.Gravatar Ulf Adams2015-04-17
| | | | | | | | | | | | | | | | | | - update the MOCK_CROSSTOOL to provide more stuff needed by tests - add a THIS_IS_BAZEL constant to allow disabling individual test cases - disable some tests in Bazel The disabled tests are mainly due to differences in the test setup - making the test setups more similar will largely fix that. I think we'll make some changes to our internal setup, too, not just the external one. For example, the use of 'k8' and 'piii' to refer to 'x86_64' and 'x86' seems archaic. I decided to leave the dependency on the C++ and Java configurations rather than rewriting the tests to use mock configurations. That would be nicer, but also requires significantly more work. -- MOS_MIGRATED_REVID=91399406
* Simplify BuildConfigurationTest and ConfigurationTestCase.Gravatar Ulf Adams2015-04-16
| | | | | -- MOS_MIGRATED_REVID=91286405
* Move test cases from BuildConfigurationTest to more specific test classes.Gravatar Ulf Adams2015-04-16
| | | | | -- MOS_MIGRATED_REVID=91284411
* Open source ConfigurationTestCase.Gravatar Ulf Adams2015-03-20
-- MOS_MIGRATED_REVID=88944458