aboutsummaryrefslogtreecommitdiff
path: root/kokoro/macos/cpp_distcheck
diff options
context:
space:
mode:
authorFeng Xiao <xfxyjwf@gmail.com>2017-06-06 16:44:30 -0700
committerGitHub <noreply@github.com>2017-06-06 16:44:30 -0700
commitd4d41af19be67de82e5066743cbd78f045de950d (patch)
treea8b8e8ce4fd81089081f8bdaa94d489e3e5b4b82 /kokoro/macos/cpp_distcheck
parentd555775836d334f2ba7280de7c98c59c030eb46a (diff)
parent6156af10e8f9f7f3d69df9adef232a77b27d6fb2 (diff)
downloadprotobuf-d4d41af19be67de82e5066743cbd78f045de950d.tar.gz
protobuf-d4d41af19be67de82e5066743cbd78f045de950d.tar.bz2
protobuf-d4d41af19be67de82e5066743cbd78f045de950d.zip
Merge pull request #3191 from matt-kwong/kokoro
Add MacOS and Linux tests to Kokoro
Diffstat (limited to 'kokoro/macos/cpp_distcheck')
-rwxr-xr-xkokoro/macos/cpp_distcheck/build.sh11
-rw-r--r--kokoro/macos/cpp_distcheck/presubmit.cfg5
2 files changed, 16 insertions, 0 deletions
diff --git a/kokoro/macos/cpp_distcheck/build.sh b/kokoro/macos/cpp_distcheck/build.sh
new file mode 100755
index 00000000..d729b63d
--- /dev/null
+++ b/kokoro/macos/cpp_distcheck/build.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+#
+# Build file to set up and run tests
+
+# Change to repo root
+cd $(dirname $0)/../../..
+
+# Prepare worker environment to run tests
+source kokoro/macos/prepare_build_macos_rc
+
+./tests.sh cpp_distcheck
diff --git a/kokoro/macos/cpp_distcheck/presubmit.cfg b/kokoro/macos/cpp_distcheck/presubmit.cfg
new file mode 100644
index 00000000..89441bcc
--- /dev/null
+++ b/kokoro/macos/cpp_distcheck/presubmit.cfg
@@ -0,0 +1,5 @@
+# Config file for running tests in Kokoro
+
+# Location of the build script in repository
+build_file: "protobuf/kokoro/macos/cpp_distcheck/build.sh"
+timeout_mins: 1440