File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -32,4 +32,5 @@ before_install:
3232script :
3333 - git-validation -run DCO,short-subject -v
3434 - make BUILDTAGS="${BUILDTAGS}"
35+ - make BUILDTAGS="${BUILDTAGS}" oci-runtime-validation
3536 - make BUILDTAGS="${BUILDTAGS}" clean ci cross
Original file line number Diff line number Diff line change @@ -116,6 +116,9 @@ validate:
116116 script/validate-c
117117 $(GO ) vet $(allpackages )
118118
119+ oci-runtime-validation :
120+ RUNTIME=$(CURDIR ) /runc script/oci-runtime-validation
121+
119122ci : validate test release
120123
121124cross : runcimage
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+ set -x
5+
6+ # Install and run runtime-tools' validation tests
7+ npm install -g tap
8+ go get -d -u github.com/opencontainers/runtime-tools || true
9+
10+ cd $GOPATH /src/github.com/opencontainers/runtime-tools
11+ make
12+ sudo PATH=" $PATH :$( dirname $( which node) ) " TAP=" $( which tap) " RUNTIME=" ${RUNTIME} " make localvalidation \
13+ || true # All tests don't pass yet. For now, only display results without returning an error.
14+
You can’t perform that action at this time.
0 commit comments