mirror of https://github.com/nirenjan/libx52.git
x52test by default expects to run with an attached X52 unit. Since the primary goal of the program is to test the hardware, it has embedded delays to allow the user to verify the individual LEDs, MFD, brightness, etc. However, the complete test takes about 6 minutes. When using the stub libusb library, the goal is to capture the requests, not verify it against the hardware. In this case, the delays serve no useful purpose. This change adds a nodelay flag, which is controlled by the presence of a `NO_DELAY` environment variable, or the `LD_PRELOAD` environment variable. As long as either of these variables are present in the environment block, there will be no delays in the test execution. |
||
---|---|---|
.. | ||
cli | ||
test | ||
Makefile.am |