]> git.ipfire.org Git - thirdparty/kmod.git/commit
testsuite: allow to re-use single function for tests
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 12 Feb 2021 09:45:23 +0000 (01:45 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 15 Feb 2021 19:53:43 +0000 (11:53 -0800)
commitb77251f08d3c1acc28f1f453da5e3971d50e0bc2
treec01e90de22f545a56486fd7ab3646bcd3734cd2e
parentd3a1fe67b64cad103ff4f93dfd9f2cf19cab09ba
testsuite: allow to re-use single function for tests

Add a new DEFINE_TEST_WITH_FUNC() that accepts the function
alongside the test name. This will allow us to share a single function
for different tests.
testsuite/testsuite.h