1.4 KiB
1.4 KiB
|
OAI CI Virtual-Machine-based Test Environment: checking the build result |
Table of Contents
[[TOC]]
1. Introduction
Function is called:
- when building in foreground
- when waiting for the background build process is finished
2. Detailed Description
Source file concerned: ci-scripts/waitBuildOnVM.sh
2.1. check_on_vm_build function
- Retrieve the build log files from the VM instance
ubuntu@$VM_IP_ADDR:/home/ubuntu/tmp/cmake_targets/log/*.txt - and copy them locally in the workspace at $ARCHIVES_LOC
- List all log files that match the pattern. Each should have
- the
Built targetpattern (the library/executable SHALL link)
- the
- Evaluate the remaining space on VM disk
- The number of patterned log files SHALL match $NB_PATTERN_FILES defined in
ci-scripts/oai-ci-vm-toolscript for the variant
Next step: how to test a function
You can also go back to the CI dev main page