diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2023-01-12 21:48:07 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2023-01-12 21:48:07 +0000 |
commit | 3d3c7ee1d9f0642fdb19987f901d8798a75e2d69 (patch) | |
tree | 7c9351a060cccaf0807a659b38d47c02de6a8007 /tests | |
parent | 8ee63e4ee821440f830870dde26f73696e58b4be (diff) | |
parent | f2b0c734a92d8f24f229f070a67cafcbb3c1987a (diff) | |
download | build-3d3c7ee1d9f0642fdb19987f901d8798a75e2d69.tar.gz |
Merge "Add test for bazel server shutdown/restart"
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/b_tests.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/b_tests.sh b/tests/b_tests.sh index 45cb4f7382..13f156d712 100755 --- a/tests/b_tests.sh +++ b/tests/b_tests.sh @@ -27,6 +27,10 @@ b build "$test_target" b build "$test_target" --run-soong-tests b build --run-soong-tests "$test_target" b --run-soong-tests build "$test_target" +# Test that the bazel server can be restarted once shut down. If run in a +# docker container, you need to run the docker container with --init or +# have some other process as PID 1 that can reap zombies. +b shutdown b cquery 'kind(test, //build/bazel/examples/android_app/...)' --config=android b run $test_target -- --help >/dev/null |