diff options
author | Simon Glass <sjg@chromium.org> | 2023-01-15 14:16:00 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-11 12:22:35 -0500 |
commit | 9cea4797aebcf952c95b503fc7aa6f1d422552bc (patch) | |
tree | 34cb5bb729f23ef332a0b9436841b8df0038c131 /.azure-pipelines.yml | |
parent | 71d3e7949c652b87c33193ccbed36b9887c5b5c2 (diff) |
trace: Add a test
Add a test which runs sandbox, collects a trace and makes sure it can
be processed by trace-cmd. This should ensure that this feature continues
to work as U-Boot and trace-cmd evolve.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to '.azure-pipelines.yml')
-rw-r--r-- | .azure-pipelines.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 5673bb76af..74cc8dc60c 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -240,6 +240,11 @@ stages: TEST_PY_TEST_SPEC: "test_ofplatdata or test_handoff or test_spl" sandbox_flattree: TEST_PY_BD: "sandbox_flattree" + sandbox_trace: + TEST_PY_BD: "sandbox" + BUILD_ENV: "FTRACE=1 NO_LTO=1" + TEST_PY_TEST_SPEC: "trace" + OVERRIDE: "-a CONFIG_TRACE=y -a CONFIG_TRACE_EARLY=y -a CONFIG_TRACE_EARLY_SIZE=0x01000000" coreboot: TEST_PY_BD: "coreboot" TEST_PY_ID: "--id qemu" @@ -362,6 +367,9 @@ stages: # the below corresponds to .gitlab-ci.yml "script" cd ${WORK_DIR} export UBOOT_TRAVIS_BUILD_DIR=/tmp/${TEST_PY_BD}; + if [ -n "${BUILD_ENV}" ]; then + export ${BUILD_ENV}; + fi tools/buildman/buildman -o ${UBOOT_TRAVIS_BUILD_DIR} -w -E -W -e --board ${TEST_PY_BD} ${OVERRIDE} cp ~/grub_x86.efi ${UBOOT_TRAVIS_BUILD_DIR}/ cp ~/grub_x64.efi ${UBOOT_TRAVIS_BUILD_DIR}/ |