tests: Enable build and unit tests from sources

This commit is contained in:
Petr Lautrbach 2020-01-21 09:33:07 +01:00
parent a8d6a72576
commit c4c03c312c

24
tests/tests.yml Normal file
View File

@ -0,0 +1,24 @@
# Tests for Lksctp-tools
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-source
- role: standard-test-basic
required_packages:
- libtool
- make
- gcc
tests:
- install-kernel-modules:
run: dnf install -y kernel-modules-`uname -r`
- build-test:
dir: ./source
run: modprobe sctp && ./bootstrap && ./configure && make
- unit-v4test:
dir: ./source/src/func_tests
run: make v4test
- unit-v6test:
dir: ./source/src/func_tests
run: make v6test