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 @@ -23,3 +23,4 @@ script:
2323 - ./configure
2424 - make -j $(nproc)
2525 - make syntax-check
26+ - make oci-runtime-validation
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ srpm: dist-gzip crun.spec
1616 $(MAKE ) -C $(WD ) dist-xz
1717 rpmbuild -bs --define " _sourcedir $( WD) " --define " _specdir $( WD) " --define " _builddir $( WD) " --define " _srcrpmdir $( WD) " --define " _rpmdir $( WD) " --define " _buildrootdir $( WD) /.build" crun.spec
1818
19+ oci-runtime-validation :
20+ RUNTIME=$(CURDIR ) /crun tests/oci-runtime-validation
21+
1922CLEANFILES = crun.spec
2023
2124libcrun_a_SOURCES = src/libcrun/utils.c \
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