[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen stable-4.19] automation: preserve built xen.efi
commit d1c774c17a4c8c6ede588b38ed9eec8894951a2c Author: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx> AuthorDate: Fri Oct 4 04:29:37 2024 +0200 Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CommitDate: Mon Nov 11 18:16:35 2024 +0000 automation: preserve built xen.efi It will be useful for further tests. Deuplicate the collection. Signed-off-by: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx> Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> (cherry picked from commit 636e66b143ac1aad2f6a9c2e7166d8ba88f4559a) --- automation/scripts/build | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/automation/scripts/build b/automation/scripts/build index b3c71fb6fb..1879c1db6d 100755 --- a/automation/scripts/build +++ b/automation/scripts/build @@ -41,19 +41,30 @@ cp xen/.config xen-config # Directory for the artefacts to be dumped into mkdir -p binaries +collect_xen_artefacts() +{ + local f + + for f in xen/xen xen/xen.efi; do + if [[ -f $f ]]; then + cp $f binaries/ + fi + done +} + if [[ "${CPPCHECK}" == "y" ]] && [[ "${HYPERVISOR_ONLY}" == "y" ]]; then # Cppcheck analysis invokes Xen-only build xen/scripts/xen-analysis.py --run-cppcheck --cppcheck-misra -- -j$(nproc) # Preserve artefacts - cp xen/xen binaries/xen + collect_xen_artefacts cp xen/cppcheck-report/xen-cppcheck.txt xen-cppcheck.txt elif [[ "${HYPERVISOR_ONLY}" == "y" ]]; then # Xen-only build make -j$(nproc) xen # Preserve artefacts - cp xen/xen binaries/xen + collect_xen_artefacts else # Full build. Figure out our ./configure options cfgargs=() @@ -101,5 +112,5 @@ else # even though dist/ contains everything, while some containers don't even # build Xen cp -r dist binaries/ - if [[ -f xen/xen ]] ; then cp xen/xen binaries/xen; fi + collect_xen_artefacts fi -- generated by git-patchbot for /home/xen/git/xen.git#stable-4.19
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |