ublk-org / ublksrv

ublk: userspace block device driver
MIT License
138 stars 47 forks source link

FR: Improve testing for users/builders #60

Open vt-alt opened 11 months ago

vt-alt commented 11 months ago

Currently tests always return success even on failures. For example if fio is not installed, exit code of all tests run is 0.

Also, it's hard to determine if some particular tests are failed, for example generic/001 output is not different if fio is installed or not, but perhaps it didn't work correctly without fio.

It would be good to have

  1. Tests return failure if they fail
  2. Define small subset tests that not taking much time for smoke testing after build.
ming1 commented 11 months ago

fio is heavy relied, so it has to be one must for test.

Wrt. smoking test, I think it is just fine to run the following test:

make test T=generic/003