diff options
author | Kevin Gessner <kgessner@etsy.com> | 2017-12-19 08:28:12 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-12-19 08:30:21 -0800 |
commit | c93ef7ba6443d7546294eacfe9d21573a11aad70 (patch) | |
tree | 67c04176dc24eee6553e73a173d8c44d07c6e1f1 /src/test/shell/integration/BUILD | |
parent | 497f58fa98d28a4c826c78a73132afc2f439d82f (diff) |
look for the prelude in each repository (fixes #1673)
Instead of every package using the root repository's prelude, it is resolved in each repository for the packages in that repository.
There weren't any tests using the prelude at all, so these are better than nothing. I wrote them as bash integration tests instead of Java tests because I couldn't get the prelude to work at all with `BuildViewTestCase` -- I'd be happy to share the busted test I wrote if someone would like to help debug it.
Closes #3991.
PiperOrigin-RevId: 179557018
Diffstat (limited to 'src/test/shell/integration/BUILD')
-rw-r--r-- | src/test/shell/integration/BUILD | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/shell/integration/BUILD b/src/test/shell/integration/BUILD index 2f75eb550f..92cef9294d 100644 --- a/src/test/shell/integration/BUILD +++ b/src/test/shell/integration/BUILD @@ -349,6 +349,13 @@ cc_binary( ], ) +sh_test( + name = "prelude_test", + size = "medium", + srcs = ["prelude_test.sh"], + data = [":test-deps"], +) + ######################################################################## # Test suites. |