From c4c03c312cf2bae71fe03f2967e085e7473606ff Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Tue, 21 Jan 2020 09:33:07 +0100 Subject: [PATCH] tests: Enable build and unit tests from sources --- tests/tests.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tests/tests.yml 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