diff options
author | Brian Geffon <bgeffon@google.com> | 2018-12-10 14:41:40 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-12-10 14:42:34 -0800 |
commit | d3bc79bc8438206ac6a14fde4eaa288fc07eee82 (patch) | |
tree | e820398591bfd1503456e877fa0c2bdd0f994959 /kokoro/run_tests.sh | |
parent | 833edbd10b49db1f934dcb2495dcb41c1310eea4 (diff) |
Open source system call tests.
PiperOrigin-RevId: 224886231
Change-Id: I0fccb4d994601739d8b16b1d4e6b31f40297fb22
Diffstat (limited to 'kokoro/run_tests.sh')
-rwxr-xr-x | kokoro/run_tests.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/kokoro/run_tests.sh b/kokoro/run_tests.sh index 927acb6a1..ea6440140 100755 --- a/kokoro/run_tests.sh +++ b/kokoro/run_tests.sh @@ -28,8 +28,8 @@ bazel version cd git/repo -# Build everything. -bazel build //... +# Build everything except //test. +bazel build //pkg/... //runsc/... //tools/... # Test use this variable to determine what runtime to use. runtime=runsc_test_$((RANDOM)) @@ -45,7 +45,10 @@ uninstallRuntime() { # We turn off "-e" flag because we must move the log files even if the test # fails. set +e -bazel test --test_output=errors //... + +# Note: We do not run the tests in the //test folder as these would take +# too long. +bazel test --test_output=errors //pkg/... //runsc/... //tools/... exit_code=${?} # This function spawns a subshell to install crictl and containerd. |