tests: Enable build and unit tests from sources
This commit is contained in:
parent
a8d6a72576
commit
c4c03c312c
24
tests/tests.yml
Normal file
24
tests/tests.yml
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user