From c4c03c312cf2bae71fe03f2967e085e7473606ff Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Jan 21 2020 13:08:31 +0000 Subject: tests: Enable build and unit tests from sources --- diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..c04db9b --- /dev/null +++ b/tests/tests.yml @@ -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