summaryrefslogtreecommitdiffhomepage
path: root/scripts/syscall_kvm_tests.sh
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2019-11-04 15:59:11 -0800
committergVisor bot <gvisor-bot@google.com>2019-11-04 16:00:34 -0800
commit493334f8b594eb1c2b0f5a6133dbedad4e0ecd32 (patch)
treefba0a99ce42aeddb5e8172dc109bfffea134aa84 /scripts/syscall_kvm_tests.sh
parent1e21496e95e9587b69339aa88d4e228013e4d0bf (diff)
kokoro: run KVM syscall tests
We don't know how stable they are, so let's start with warning. PiperOrigin-RevId: 278484186
Diffstat (limited to 'scripts/syscall_kvm_tests.sh')
-rwxr-xr-xscripts/syscall_kvm_tests.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/syscall_kvm_tests.sh b/scripts/syscall_kvm_tests.sh
new file mode 100755
index 000000000..de85daa5a
--- /dev/null
+++ b/scripts/syscall_kvm_tests.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+# Copyright 2019 The gVisor Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+source $(dirname $0)/common.sh
+
+# TODO(b/112165693): "test --test_tag_filters=runsc_kvm" can be used
+# when the "manual" tag will be removed for kvm tests.
+test `bazel query "attr(tags, runsc_kvm, tests(//test/syscalls/...))"`