bachmann-m200 / baem200

Other
4 stars 6 forks source link

Use MOD_PROC_INSTALL, RUN and STOP to install the test application #6

Closed JaccoVE closed 3 years ago

JaccoVE commented 3 years ago

To install the test application right now the mconfig.ini is changed and the device is rebooted to start the test application. However, when using the commands above, a reboot can probably be prevented which makes the testing framework faster.

JaccoVE commented 3 years ago

Now uses the newly added M1Application.reset() function from 3618caf to run the unittests. Now the unittests require only one reboot to install the test application and one reboot to remove it. The MOD_PROC_INSTALL function doesn't seem to work in Python, so this will be the solution for this issue for now.