diff options
Diffstat (limited to 'kokoro/run_tests.sh')
-rwxr-xr-x | kokoro/run_tests.sh | 9 |
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. } |