From cb23232c37c092b60d7e3ee91cb8dd8bed855028 Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Tue, 7 Aug 2018 13:47:16 -0700 Subject: Fix build break in test integration_test runs manually and breakage wasn't detected. Added test to kokoro to ensure breakages are detected in the future. PiperOrigin-RevId: 207772835 Change-Id: Iada81b579b558477d4db3516b38366ef6a2e933d --- kokoro/run_tests.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'kokoro/run_tests.sh') diff --git a/kokoro/run_tests.sh b/kokoro/run_tests.sh index 0069aa0c4..665d63390 100755 --- a/kokoro/run_tests.sh +++ b/kokoro/run_tests.sh @@ -44,10 +44,14 @@ bazel test --test_output=errors //... exit_code=${?} if [[ ${exit_code} -eq 0 ]]; then + # These names are used to exclude tests not supported in certain + # configuration, e.g. save/restore not supported with hostnet. declare -a variations=("" "-kvm" "-hostnet" "-overlay") for v in "${variations[@]}"; do - # image_test is tagged manual - bazel test --test_output=errors --test_env=RUNSC_RUNTIME=${runtime}${v} //runsc/test/image:image_test + # Run runsc tests with docker that are tagged manual. + bazel test --test_output=errors --test_env=RUNSC_RUNTIME=${runtime}${v} \ + //runsc/test/image:image_test \ + //runsc/test/integration:integration_test exit_code=${?} if [[ ${exit_code} -ne 0 ]]; then break -- cgit v1.2.3