aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/build_rules/test_rules.bzl
Commit message (Collapse)AuthorAge
* Make test_rules.bzl --all_incompatible_changes compliant.Gravatar Mathieu Boespflug2018-02-15
| | | | | | | | Fixes #4354. Closes #4355. PiperOrigin-RevId: 185808171
* test_rules.bzl: Make Skylark rule forward compatibleGravatar David Ostrovsky2018-01-04
| | | | | | | This fixes "type 'depset' is not iterable. Use the `to_list()` method to get a list." warning. Change-Id: I10bd791ce15445469afb9e12b2246be583c77a4b
* Rollback of commit 4b73e972d909bcd533f2f9940f95a00b9b73bdde.Gravatar Dmitry Lomov2017-02-17
| | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Broke tests on CI: http://ci.bazel.io/job/bazel-tests/570/ *** Original change description *** Roll forward execroot change 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. Cust... -- PiperOrigin-RevId: 147833177 MOS_MIGRATED_REVID=147833177
* Roll forward execroot changeGravatar Kristina Chodorow2017-02-16
| | | | | | | | | | | | | | | | | 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. Custom crosstools that hardcode external/<repo> paths will have to be updated. Issue #1262. -- PiperOrigin-RevId: 147726370 MOS_MIGRATED_REVID=147726370
* Global cleanup change.Gravatar Kristina Chodorow2016-12-08
| | | | | | -- PiperOrigin-RevId: 141438562 MOS_MIGRATED_REVID=141438562
* Add support for rules_test on rules in a different repository or in theGravatar John Cater2016-12-01
| | | | | | | | | root package. -- Change-Id: Ibbc4119ec65c27ad1f85a74450815195d18f5128 Reviewed-on: https://cr.bazel.build/7571 MOS_MIGRATED_REVID=140625048
* 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
* Fix path for input fileGravatar Googler2015-08-26
| | | | | -- MOS_MIGRATED_REVID=101485838
* Use sorted lists instead of sets for generated file list comparisonGravatar Googler2015-08-26
| | | | | -- MOS_MIGRATED_REVID=101482632
* Ignore ordering for generated files checkGravatar Googler2015-08-26
| | | | | -- MOS_MIGRATED_REVID=101470280
* Remove the Skylark data configuration accessor and the only repositoryGravatar Greg Estren2015-08-05
| | | | | | | | | | | use of that accessor. Data configuration access here complicates the first phase of dynamic configuration support. And the current use doesn't specifically need this configuration. We can always add support back in if there's demand. -- MOS_MIGRATED_REVID=99938987
* Introduce trivial rust testsGravatar Francois-Rene Rideau2015-07-29
| | | | | -- MOS_MIGRATED_REVID=99378104
* Improvements to skylark testsGravatar Francois-Rene Rideau2015-07-21
| | | | | | | | | | Debug the rule_test generates feature. Implement the rule_test provides feature, using regexp on the provider repr. Also, add docstrings and reformat to comply with Google python style guide. -- MOS_MIGRATED_REVID=98687673
* Trivial skylark testingGravatar Francois-Rene Rideau2015-06-19
-- MOS_MIGRATED_REVID=96404668