Test Suite: Difference between revisions

From Libreswan
Jump to navigation Jump to search
No edit summary
(Show test frameworks as a table)
Line 7: Line 7:
It can be run using several different mechanisms:
It can be run using several different mechanisms:


* [[Test Suite - Namespace]]<br/>fast but linux centric, use host kernel.
{| class="wikitable"
|+ Test Frameworks
! Framework
! Speed
! Host
! Guest
! Modifies /
! Notes
|- style="vertical-align:top;"
| [[Test Suite - Namespace | Namespaces]]
| fast
| linux
| linux
| yes
| results depend on host kernel<br>installs libreswan into /
|- style="vertical-align:top;"
| [[Test Suite - KVM | KVM]]
| slower
| generic?
| Fedora, OpenBSD
| no
| in theory generic hosts (but only linux known to work)
|- style="vertical-align:top;"
| [[Test Suite - Docker | Docker]]
|
| linux
|
|
| Linux centric using host kernel.<br>Ideal for build tests.<br>Can build using various Linux Distributions : CentOS 6, 7, 8, Fedora 28 - rawhide, Debian, Ubuntu.<br>Also for run tests using systemd.


* [[Test Suite - KVM]]<br/>generic, multi-guest-os, but slower
|}
 
* [[Test Suite - Docker]] <br/>Linux centric using host kernel. Ideal for build tests. Can build using various Linux Distributions : CentOS 6, 7, 8, Fedora 28 - rawhide, Debian, Ubuntu. Also for run tests using systemd.


== Travis continuous integration ==
== Travis continuous integration ==

Revision as of 18:37, 1 May 2021

Test Suite

stuff goes here explaining how the testsuite works ...

Running tests

It can be run using several different mechanisms:

Test Frameworks
Framework Speed Host Guest Modifies / Notes
Namespaces fast linux linux yes results depend on host kernel
installs libreswan into /
KVM slower generic? Fedora, OpenBSD no in theory generic hosts (but only linux known to work)
Docker linux Linux centric using host kernel.
Ideal for build tests.
Can build using various Linux Distributions : CentOS 6, 7, 8, Fedora 28 - rawhide, Debian, Ubuntu.
Also for run tests using systemd.

Travis continuous integration

Coverity static analysis - manually updated