-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow configuring output directories #237
base: main
Are you sure you want to change the base?
Conversation
19cdf0f
to
869b64f
Compare
ec76d58
to
8c44c8f
Compare
2bce83d
to
0a430a5
Compare
0a430a5
to
f579cb6
Compare
Successful lenovo-x1ANDbat run on dev jenkins Successful lenovo-x1ANDgui run on dev jenkins |
5eaaccd
to
fd3bbf7
Compare
and lenovo-x1ANDperformance passed First there was no plot images shown on report.html. Then noticed that I have to use relative path |
Create separate directories under base output dir for storing icons, power measurement data, video data, audio data etc. Signed-off-by: Samuli Leivo <[email protected]>
fd3bbf7
to
deb15b8
Compare
|
||
|
||
*** Keywords *** | ||
|
||
Set Variables | ||
[Arguments] ${device} | ||
|
||
${DIR_BODY} ${DIR_END} Split String From Right ${OUTPUT_DIR} / 1 | ||
IF $DIR_END != 'test-suites' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what 'else'?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't put ELSE here because the default values are defined under *** Variables ***. If the IF statement is false those default values will be used.
--outputdir
. If not given it defaults to absolute path of./
.outputs
directory under the base output directory for storing gui icons, power measurement data, audio test data, video test data etc. Icons should not anymore end up to release artifacts.--outputdir
is not given same old../../../Performance_test_results/
directory is used as before. If--outputdir
is given and does not end intest-suites
, performance test data will be saved to${OUTPUT_DIR}/outputs/Performance_test_results/
This PR gives more flexibility in running ci-test-automation locally and even running it from read-only nix store is now possible.
Testing
robot -v CONFIG_PATH:None -v DEVICE_IP_ADDRESS:ip -v COMMIT_HASH:1202 -v DEVICE:Lenovo-X1 -v THREADS_NUMBER:20 -v PASSWORD:password -i lenovo-x1 -e ssh_boot_test --outputdir /tmp/test_output/ ./
(if running with CONFIG_PATH:None THREAD_NUMBER needs to be given via command line for performance tests, for bat or pre-merge tests THREADS_NUMBER is not necessary)