On Apr 16 14:44, Omar Sandoval wrote: > On Wed, Apr 15, 2020 at 12:11:51AM +0200, Klaus Jensen wrote: > > From: Klaus Jensen <k.jensen@xxxxxxxxxxx> > > > > cd11d001fe86 ("Support skipping tests from test{,_device}()") breaks a > > handful of tests in the block group. > > > > For example, block/005 uses _test_dev_is_rotational to check if the > > device is rotational and uses the result to size up the fio run. As a > > side-effect, _test_dev_is_rotational also sets SKIP_REASON, which (since > > commit cd11d001fe86) causes the test to print out a "[not run]" even > > through the test actually ran successfully. > > Oof, I thought I checked for this sort of thing, but clearly I missed > this one. It might be better to rename the existing helpers _require_foo > (e.g., _require_test_dev_is_rotational), and have the variant without > the _require whenever it's needed. Would you mind writing a patch for > that? > Sounds good to me. I'll whip that up :) K