| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
--
MOS_MIGRATED_REVID=92128998
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=92063536
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=92016074
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91999865
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91987064
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91986167
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91985334
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91983663
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91982390
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91980878
|
|
|
|
|
|
|
| |
overloading" it had been doing previously.
--
MOS_MIGRATED_REVID=91979641
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91979634
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91976263
|
|
|
|
|
|
|
| |
Doesn't completely fix but improves #97 for a lot of people.
--
MOS_MIGRATED_REVID=91909946
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91909389
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91907246
|
|
|
|
|
|
|
| |
Analysis tests are incoming.
--
MOS_MIGRATED_REVID=91903404
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91891070
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
ActionContextConsumers.
--
MOS_MIGRATED_REVID=91827715
|
|
|
|
|
|
|
| |
Last step in refactoring of Skylark builtin functions.
--
MOS_MIGRATED_REVID=91796746
|
|
|
|
|
|
|
|
| |
Replace the uses of AbstractFunction, MixedModeFunction,
SkylarkFunction and SimpleSkylarkFunction by BuiltinFunction.
--
MOS_MIGRATED_REVID=91763158
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91714318
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91713784
|
|
|
|
|
|
|
|
|
|
|
| |
- expectation in testSimpleKillableObserver is wrong
- work around race condition in testSimpleKillableObserver by sleeping
- make FutureConsumptionTest thread-safe
Thanks to Adrian Colley for the report.
--
MOS_MIGRATED_REVID=91678160
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91573977
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91407816
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91405317
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
computing the test environment as early as possible, and passing that along.
--
MOS_MIGRATED_REVID=91388451
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91304912
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91289047
|
|
|
|
|
|
|
| |
This requires writing a workspace file for the JDK.
--
MOS_MIGRATED_REVID=91287178
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91286405
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91284411
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91216722
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91192716
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91181886
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91175430
|
|
|
|
|
|
|
|
| |
Move some functionality to its only current client SkylarkShell,
mark some accessor @VisibleForTesting and remove those not currently used for testing.
--
MOS_MIGRATED_REVID=91033050
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Polling the machine load can never work, because the following
scenarios are quite common:
* Tasks that are faster than the poll cycle time.
* Tasks whose CPU and/or RAM consumption changes over the lifetime of
the task.
--
MOS_MIGRATED_REVID=90990445
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=90984191
|
|
|
|
|
|
|
|
| |
There are still some static checks (check existence of variable/function,
readonly variables, etc.). More cleanup will come later.
--
MOS_MIGRATED_REVID=90979748
|
|
|
|
|
|
|
|
|
|
|
|
| |
sh doesn't actually support negative exit codes, so if someone (Travis) uses a
different version than we're using, they'll get exit code 2 (misuse of shell
builtin), not <exit code>%256.
See https://lists.gnu.org/archive/html/bug-bash/2011-08/msg00027.html for some
examples/discussion.
--
MOS_MIGRATED_REVID=90828267
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the new EvaluationContext infrastructure to simplify Skylark tests
(said infrastructure is originally based on code from these tests).
Merge AbstractEvaluationTestCase and AbstractParserTestCase into
a non-abstract class EvaluationTestCase that uses EvaluationContext.
Cleanup the EventCollectionApparatus it uses.
Refactor all Skylark tests to use this new infrastructure.
Fix EvaluationTest and MethodLibraryTest to actually and correctly
run tests in both modes.
Fix small bugs in the main code base discovered by actually running the
code in both modes, and make error messages identical when possible.
--
MOS_MIGRATED_REVID=90828053
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Lift the Evaluation code from the test files AbstractParserTestCase and
AbstractEvaluationTestCase into new files EvaluationContext.
Remove this code's dependency on FsApparatus (and thus to InMemoryFS),
by making the Lexer accept null as filename.
Also remove dependency on EventCollectionApparatus;
parameterized by an EventHandler.
Have the SkylarkSignatureProcessor use this Evaluation for defaultValue-s.
While refactoring evaluation, have SkylarkShell use it,
which fixes its ValidationEnvironment issues.
TODO: refactor the tests to use this new infrastructure.
--
MOS_MIGRATED_REVID=90824736
|
|
|
|
|
|
|
|
|
| |
their paths). This gives a predictable order in places where Artifacts are sorted by their natural order.
This works because exec paths of Artifacts are unique in any given build.
--
MOS_MIGRATED_REVID=90807141
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=90799686
|
|
|
|
|
|
|
|
|
| |
This allows removing most /[]/ prefixes from all output file names in all
tests that inherit from FoundationTestCase; that, in turn, allows us to switch
the workspace root to a neutral name, such as /workspace/.
--
MOS_MIGRATED_REVID=90720852
|