summaryrefslogtreecommitdiffhomepage
path: root/kokoro
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2019-02-28 18:37:34 -0800
committerShentubot <shentubot@google.com>2019-02-28 18:38:34 -0800
commit3b44377eda93137212e6e437b62dcb216566b858 (patch)
tree5270dbf4e618e6cc5421c80a6922e20659fd386f /kokoro
parent3851705a73235baa6d153970c95921d17a39d77a (diff)
Fix "-c dbg" build break
Remove allocation from vCPU.die() to save stack space. Closes #131 PiperOrigin-RevId: 236238102 Change-Id: Iafca27a1a3a472d4cb11dcda9a2060e585139d11
Diffstat (limited to 'kokoro')
-rwxr-xr-xkokoro/run_tests.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/kokoro/run_tests.sh b/kokoro/run_tests.sh
index 648e72a90..4fcaed238 100755
--- a/kokoro/run_tests.sh
+++ b/kokoro/run_tests.sh
@@ -71,11 +71,13 @@ BAZEL_BUILD_RBE_FLAGS=(
####################
build_everything() {
+ FLAVOR="${1}"
+
cd ${WORKSPACE_DIR}
bazel \
"${BAZEL_RBE_FLAGS[@]}" \
build \
- "${BAZEL_BUILD_RBE_FLAGS[@]}" \
+ -c "${FLAVOR}" "${BAZEL_BUILD_RBE_FLAGS[@]}" \
"${BUILD_PACKAGES[@]}"
}
@@ -217,7 +219,7 @@ main() {
trap finish EXIT
# Build and run the simple tests.
- build_everything
+ build_everything opt
run_simple_tests
# So far so good. Install more deps and run the integration tests.
@@ -228,6 +230,9 @@ main() {
run_syscall_tests
+ # Build other flavors too.
+ build_everything dbg
+
# No need to call "finish" here, it will happen at exit.
}