summaryrefslogtreecommitdiffhomepage
path: root/scripts/packetdrill_tests.sh
diff options
context:
space:
mode:
authorEyal Soha <eyalsoha@google.com>2020-02-05 11:17:14 -0800
committergVisor bot <gvisor-bot@google.com>2020-02-05 11:18:02 -0800
commit37abbbc547d9d78e0bf42f192403c8eca30593d8 (patch)
tree3d0e58e37ca49ee01f2c5e7bbaa595db17591ea8 /scripts/packetdrill_tests.sh
parent665b614e4a6e715bac25bea15c5c29184016e549 (diff)
Add packetdrill tests to presubmit and CI testing
PiperOrigin-RevId: 293409718
Diffstat (limited to 'scripts/packetdrill_tests.sh')
-rwxr-xr-xscripts/packetdrill_tests.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/packetdrill_tests.sh b/scripts/packetdrill_tests.sh
new file mode 100755
index 000000000..fc6bef79c
--- /dev/null
+++ b/scripts/packetdrill_tests.sh
@@ -0,0 +1,20 @@
+#!/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
+
+install_runsc_for_test runsc-d
+test_runsc $(bazel query "attr(tags, manual, tests(//test/packetdrill/...))")