Skip to content

Draft: emc-test-suite: update setup scripts for remote-station to Yocto Kirkstone

Mikhail Vanyulin requested to merge kirkstone-remote-station into kirkstone

This MR is the second part of proof of concept for https://secogroup.atlassian.net/browse/YT-191 task.

This MR is auxiliary and is in charge of adjustment of various scripts focused on remote station. Following changes are introduced:

  • actualized CAN and Bluetooth echo scripts, which are launched on remote, to Kirstone;
  • renamed rs232 echo scripts to get rid of # symbol;
  • separated a configuration from the code of setup script by isolating it in base configuration file;
  • added machine specifics configuration files which may be used to replace a base configuration in the sub-package in build pipeline;
  • added a systemd service for launching an "echo" test services;
  • added a systemd service in charge of setup of remote station;
  • added instructions to README on how to launch the setup scripts;
  • renamed emc-test-remote-santoka-setup.sh to emc-test-remote-setup.sh and improve it:
    • updated to Kirkstone;
    • added "--disable" argument to stop running echo services and to clean up;
    • added arguments to specify system descriptors (/dev/tty...) for RS232 and RS485 ports which will be used for testing;
    • added an argument to specify a custom configuration file instead of config provided by the sub-package ("base" and "machine"-specific).

The first part of the PoC with introduction of sub package can be found in following MR: seco-ne/yocto/layers/meta-seconorth-distro!807

Edited by Mikhail Vanyulin

Merge request reports