diff options
author | Dimitrios Apostolou <jimis@qt.io> | 2022-01-13 13:28:55 +0100 |
---|---|---|
committer | Dimitrios Apostolou <jimis@qt.io> | 2022-02-14 12:56:06 +0100 |
commit | c37d0e84bc4e6bc9840190eaf73f5a39fbfa0b1d (patch) | |
tree | 5ff005559f9d64c67540d897da437d5a438e2130 /coin/instructions/coin_module_test_qnx_start_emulator.yaml | |
parent | d6c4a3edf9adb02b6f96d43768db9f90a6623de7 (diff) |
Clean up QNX platform configs and improve testrunner scripts
QNX requires its own TESTRUNNER script in order to SSH to the QEMU guest
and run the tests. Simplify it a lot and fix the way it passes arguments
so that they retain spaces and quotation.
Also wrap it with the generic TESTRUNNER script for CI, which is
qt-testrunner.py, so that tests can re-run in case of flakiness.
Delete prefix.sh as the environment variables are now properly set in
the Coin platform config files.
Avoid executing extra chmod commands to make scripts executable,
but use the right Coin instruction for that. For reference, we
use 493 for file mode which equals to 755 in octal, as Coin expects
the file mode in decimal.
Change-Id: Ife4d1caef606f48b92ba1da1cfb14ec0dea11ef2
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Diffstat (limited to 'coin/instructions/coin_module_test_qnx_start_emulator.yaml')
-rw-r--r-- | coin/instructions/coin_module_test_qnx_start_emulator.yaml | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/coin/instructions/coin_module_test_qnx_start_emulator.yaml b/coin/instructions/coin_module_test_qnx_start_emulator.yaml index 8e50313a88..2d2976f7ae 100644 --- a/coin/instructions/coin_module_test_qnx_start_emulator.yaml +++ b/coin/instructions/coin_module_test_qnx_start_emulator.yaml @@ -56,20 +56,10 @@ instructions: done exit $RESULT filename: "{{.Env.QNX_QEMU}}/start_qnx_qemu.sh" - fileMode: 755 + fileMode: 493 - type: ChangeDirectory directory: "{{.Env.QNX_QEMU}}" - type: ExecuteCommand - command: "chmod 755 {{.Env.QNX_QEMU}}/start_qnx_qemu.sh" - maxTimeInSeconds: 10 - maxTimeBetweenOutput: 10 - userMessageOnFailure: > - Failed to change file permission. - disable_if: - condition: property - property: host.os - equals_value: Windows - - type: ExecuteCommand command: "{{.Env.QNX_QEMU}}/start_qnx_qemu.sh" maxTimeInSeconds: 100 maxTimeBetweenOutput: 100 |