Skip to content

dispatcher.sh: improve auxiliary script handling#6

Open
okt-konst wants to merge 3 commits into
ts-factory:mainfrom
okt-konst:up/dispatcher-scripts
Open

dispatcher.sh: improve auxiliary script handling#6
okt-konst wants to merge 3 commits into
ts-factory:mainfrom
okt-konst:up/dispatcher-scripts

Conversation

@okt-konst

Copy link
Copy Markdown
Collaborator

Three small improvements to script handling in dispatcher.sh:

  • document a CLI parameter that was missing from the usage text
  • use bash arrays for Tester scripts (robust against word splitting)
  • allow running scripts before shutdown, complementing the existing
    pre-run script hooks

Commits:

  • dispatcher.sh: add missing documentation for CLI parameter
  • dispatcher.sh: use bash arrays for Tester scripts
  • dispatcher.sh: allow running scripts before shutdown

The description of the --tester-script parameter was missing from the
help message.

Signed-off-by: Viacheslav Galaktionov <viacheslav.galaktionov@oktet.tech>
This is a cleaner approach that handles spaces in paths better.

Signed-off-by: Viacheslav Galaktionov <viacheslav.galaktionov@oktet.tech>
Implement a new CLI parameter for specifying which scripts need to be run after
the tests have finished.

This functionality is required for configurations that need to perform some
non-trivial cleanup.

Signed-off-by: Viacheslav Galaktionov <viacheslav.galaktionov@oktet.tech>
@okt-konst okt-konst marked this pull request as ready for review July 6, 2026 22:51
@okt-konst

Copy link
Copy Markdown
Collaborator Author

@ol-arteman @arybchik could you please review?

@okt-konst okt-konst requested review from arybchik and ol-arteman July 6, 2026 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants