xmos / lib_gpio

GPIO abstraction for multibit ports
Other
0 stars 13 forks source link

Missing xcore AI tests #35

Open ed-xmos opened 3 years ago

ed-xmos commented 3 years ago

Only gpio_flashing_leds compiles and run on xcore AI hardware in Jenkins. The other tests require in depth usage of xmostest and xsim. So even running them on the xcore AI HW target is not really helpful. The best we could do is run these using an xcore AI xsim target, which should be fine. Given these run successfully on xcore 200 target already, the risk to test coverage ofnot having these is very low. The missing tests are:

test_input_1bit_basic.py test_input_1bit_events.py test_input_basic.py test_input_events.py test_output.py

ed-xmos commented 3 years ago

Note the above tests are now built for the XS3 target ISA as part of the regression. They are not run, but this gives a bit more coverage. https://github.com/xmos/lib_gpio/pull/34/commits/2adc6c8405bf1b3a25c453f1548a17d708e0ab5e