Skip to content

Commit ea0a3b2

Browse files
albanDongsu Park
authored andcommitted
docs: how to run tests from a release
Signed-off-by: Alban Crequy <[email protected]>
1 parent 25522e1 commit ea0a3b2

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/runtime-compliance-testing.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,24 @@ In order to be tested for [compliance][], runtimes MUST support at least one of
66

77
* Version 1.0.1 of the [OCI Runtime Command Line Interface](command-line-interface.md).
88

9-
## Running the runtime validation suite from source
9+
## Running the runtime validation suite
1010

1111
The runtime validation suite uses [node-tap][], which is packaged for some distributions (for example, it is in [Debian's `node-tap` package][debian-node-tap]).
1212
If your distribution does not package node-tap, you can install [npm][] (for example, from [Gentoo's `nodejs` package][gentoo-nodejs]) and use it:
1313

1414
```console
1515
$ npm install tap
1616
```
17+
### From a release
18+
19+
Check if your release has pre-compiled tests on the [release page][releases] page.
20+
21+
```
22+
$ tar xf runtime-tools-v0.6.0.tar.gz
23+
$ RUNTIME=runc tap ./runtime-tools-v0.6.0/validation/*.t
24+
```
25+
26+
### From source
1727

1828
Build the validation executables:
1929

@@ -367,3 +377,4 @@ Result: PASS
367377
[npm]: https://www.npmjs.com/
368378
[prove]: http://search.cpan.org/~leont/Test-Harness-3.39/bin/prove
369379
[tap-consumers]: https://testanything.org/consumers.html
380+
[releases]: https://github.com/opencontainers/runtime-tools/releases

0 commit comments

Comments
 (0)