This repository has been archived by the owner on May 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
Running the tests
James O. D. Hunt edited this page Oct 18, 2017
·
3 revisions
The runtime comes with a comprehensive set of unit-tests (*_test.go
). However, there are many other classes of tests which are stored in a separate tests repository.
If you wish to run all the tests (as the CI system does), it is very easy. However, please see the warning below BEFORE you run these commands:
$ go get -d github.com/clearcontainers/runtime
$ .ci/setup.sh && .ci/run.sh; .ci/teardown.sh
The commands above will perform all setup (including cloning the tests
repository), run all classes of test and display any problems at the end.
-
It is NOT advisable to run the above on a system you care about since the tests are aggressive and run as the
root
user. If you still wish to run the entire suite of tests, the best advice is to run them inside a virtual machine, or on a non-essential system.
Usage
Development
Process