devkit-check fails
Using 9d279179 built from source on the devkit, with all kill switches off and the display on:
# uname -r
4.18.11-g211c467b
# librem5-devkit-check
============================ test session starts ============================
platform linux -- Python 3.7.3rc1, pytest-3.10.1, py-1.7.0, pluggy-0.8.0
rootdir: /usr/share/librem5-devkit/check, inifile:
collected 6 items
test_battery_charger.py . [ 16%]
test_cpufreq.py . [ 33%]
test_gpio_keys.py . [ 50%]
test_magn.py F [ 66%]
test_panel_brightness.py F [ 83%]
test_usb_hub.py . [100%]
================================= FAILURES ==================================
_________________________________ test_gyro _________________________________
def test_gyro():
> assert("lsm9ds1_magn" in open('/sys/bus/iio/devices/iio:device0/name').read())
E AssertionError: assert 'lsm9ds1_magn' in 'lsm9ds1_gyro\n'
E + where 'lsm9ds1_gyro\n' = <built-in method read of _io.TextIOWrapper object at 0xffffa3d7a630>()
E + where <built-in method read of _io.TextIOWrapper object at 0xffffa3d7a630> = <_io.TextIOWrapper name='/sys/bus/iio/devices/iio:device0/name' mode='r' encoding='UTF-8'>.read
E + where <_io.TextIOWrapper name='/sys/bus/iio/devices/iio:device0/name' mode='r' encoding='UTF-8'> = open('/sys/bus/iio/devices/iio:device0/name')
test_magn.py:2: AssertionError
___________________________ test_panel_brightness ___________________________
def test_panel_brightness():
"Check if current panel brighness is in [0..9]"
> f = open("/sys/class/backlight/backlight-dsi/brightness")
E FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/backlight/backlight-dsi/brightness'
test_panel_brightness.py:3: FileNotFoundError
==================== 2 failed, 4 passed in 0.60 seconds =====================