[lkml]   [2020]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 0/4] kselftest: add fixture parameters
From: Jakub Kicinski <>
Date: Fri, 13 Mar 2020 17:54:57 -0700

> This set is an attempt to make running tests for different
> sets of data easier. The direct motivation is the tls
> test which we'd like to run for TLS 1.2 and TLS 1.3,
> but currently there is no easy way to invoke the same
> tests with different parameters.
> Tested all users of kselftest_harness.h.
> v2:
> - don't run tests by fixture
> - don't pass params as an explicit argument
> Note that we loose a little bit of type safety
> without passing parameters as an explicit argument.
> If user puts the name of the wrong fixture as argument
> to CURRENT_FIXTURE() it will happily cast the type.

Hmmm, what tree should integrate this patch series?

 \ /
  Last update: 2020-03-15 08:07    [W:0.095 / U:3.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site